Skip to content

Instantly share code, notes, and snippets.

@farhad-4
farhad-4 / readme.md
Created October 8, 2022 22:36
wssocks installation

Prerequisites

  • Docker
  • Set an A DNS record which points to your server's IP address, we recomment using your country domain (e.g., ir): e.g., ws.mydomain.ir Please note that you should enable proxy feature on the dns record (e.g., the cloud icon on the DNS record in the cloudlfare dashboard)

wssocks Server Installation

  • Run wssocks (replace myRandSecureKey with a random value to use as authentication key on the client):
docker run -d --restart=always --name=wssocks-server -p 80:80 farhad4/wssocks:0.5.0 server --addr=:80 --auth --auth_key=myRandSecureKey
@farhad-4
farhad-4 / readme.md
Last active October 16, 2022 15:49
tlstun installation

tlstun

tlstun is basic SOCKS over TLS.

Prerequisites

  • Docker
  • Set an A DNS record which points to your server's IP address, we recomment using your country domain (e.g., ir): e.g., tun.mydomain.ir

tlstun Server Installation

  • Create self-signed certificate for the domain