If you are looking for tun2socks, then pull
8.9K
/container envs
add key=SOCKS5_ADDR name=tun value=10.0.11.11
add key=SOCKS5_PORT name=tun value=1080
add key=SOCKS5_UDP_MODE name=tun value=udp
add key=LOCAL_ROUTE name=tun value="ip r a 10.0.1.0/24 via 10.0.11.1"
In this example i have local network 10.0.1.0/24 and container's network 10.0.11.0/24.
tcp or udpAlso you can use SOCKS5_USERNAME and SOCKS5_PASSWORD vars.
Warning
After launch, only transit traffic will enter the tunnel, so the Internet will be unavailable in the shell from the container.
Your support helps me keep existing solutions up-to-date and continue developing new ones. Every contribution, big or small, allows me to improve and expand, ensuring I can provide the best tools and resources for you.
bc1qdqccd79jwg4yfstt0j78m2r4lt2nuh34c662g30xf610E868310C9de11ca5C3C6dE4213C2417Dd473LMk3YSchxSaXidDs2jTv6XZZLRLj8eqxVoTLGPgMLVaogPcRxWp54adb9EDBTLNRQLhm0xf610E868310C9de11ca5C3C6dE4213C2417Dd473rLnN345FZQAu4LnpTjChdvJtNXRPkWLQhm4BDCioqGHh15vqbJyAwf1acCLSvQLn8DFF5WG96e9yEegXdyUGiCSLzRiWV5fpZVw3KoHqAd7E4pEAQKQu8DjYHgP6Qst5HContent type
Image
Digest
sha256:a581310d0…
Size
4.8 MB
Last updated
over 1 year ago
docker pull snegowiki/hev-socks5-tunnel-mikrotik