snegowiki/hev-socks5-tunnel-mikrotik

By snegowiki

Updated over 1 year ago

If you are looking for tun2socks, then pull

Image
Networking
11

8.9K

snegowiki/hev-socks5-tunnel-mikrotik repository overview

Tunnel to socks container for RouterOS (arm/arm64/amd64).

Environments
/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.

  • 10.0.11.1 - gateway for containers (mikrotik)
  • 10.0.1.0/24 - LAN
  • 10.0.11.11:1080 - SOCKS5 IP Address (shadowsocks client in container)
  • SOCKS5_UDP_MODE - may be tcp or udp

Also 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.

If You’d Like to Support the Project

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.

  • Bitcoin (BTC): bc1qdqccd79jwg4yfstt0j78m2r4lt2nuh34c662g3
  • Ethereum (ETH): 0xf610E868310C9de11ca5C3C6dE4213C2417Dd473
  • Litecoin (LTC): LMk3YSchxSaXidDs2jTv6XZZLRLj8eqxVo
  • Tether (USDT, TRC-20): TLGPgMLVaogPcRxWp54adb9EDBTLNRQLhm
  • Tether (USDT, ERC-20): 0xf610E868310C9de11ca5C3C6dE4213C2417Dd473
  • Ripple (XRP): rLnN345FZQAu4LnpTjChdvJtNXRPkWLQhm
  • Monero (XMR): 4BDCioqGHh15vqbJyAwf1acCLSvQLn8DFF5WG96e9yEegXdyUGiCSLzRiWV5fpZVw3KoHqAd7E4pEAQKQu8DjYHgP6Qst5H

Tag summary

Content type

Image

Digest

sha256:a581310d0

Size

4.8 MB

Last updated

over 1 year ago

docker pull snegowiki/hev-socks5-tunnel-mikrotik