Fluent-networks / tailscale-mikrotik

Tailscale for Mikrotik Container
BSD 3-Clause "New" or "Revised" License
304 stars 30 forks source link

How to active and use SOCKS5 or HTTP proxy with this container? #12

Closed vuducdong closed 1 year ago

vuducdong commented 1 year ago

I have successfully installed Tailscale on the Mikrotik Router, but don't see an option to enable SOCKS5 or HTTP proxy. Please help. Thank you!

And how can I download *.tar file to my computer, I use Windows PC image

image

frankedwards commented 1 year ago

Hi,

See 0.1.22 which has added a TAILSCALED_ARGS environment variable. To use a SOCKS5 proxy and an HTTP proxy on the same port per the Tailscale example (https://tailscale.com/kb/1112/userspace-networking/):

/container envs add name=tailscale key=TAILSCALED_ARGS value="--tun=userspace-networking --socks5-server=localhost:1055 --outbound-http-proxy-listen=localhost:1055"
frankedwards commented 1 year ago

An option for Windows is to use WSL 2: https://docs.docker.com/desktop/wsl/

In addition to the setup above, you will need to install git & go into your distro, then clone and build. This will produce a tailscale.tar file.