antoniomika / sish

HTTP(S)/WS(S)/TCP Tunnels to localhost using only SSH.
https://ssi.sh
MIT License
4.03k stars 308 forks source link

IPv6 support #319

Closed wdhdev closed 3 months ago

wdhdev commented 3 months ago

Hi, I was wondering if IPv6 is supported by sish? I currently run it on IPv4, however I want to add IPv6 support as well, how would I do that?

antoniomika commented 3 months ago

IPv6 is indeed supported by sish!

To use IPv6, set your listen addresses to a comma separated string of addresses. For example:

      --tcp-address=tcp://192.168.1.1,tcp6://[fdf6:a22a:2e47:fd87::1]
      --ssh-address=tcp://192.168.1.1:22,tcp6://[fdf6:a22a:2e47:fd87::1]:22
      --http-address=tcp://192.168.1.1:80,tcp6://[fdf6:a22a:2e47:fd87::1]:80
      --https-address=tcp://192.168.1.1:443,tcp6://[fdf6:a22a:2e47:fd87::1]:443
wdhdev commented 3 months ago

Thanks! I think this would be a good addition to the docs for any one in the future wanting IPv6 support :)