ginuerzh / gost

GO Simple Tunnel - a simple tunnel written in golang
MIT License
15.46k stars 2.42k forks source link

IPv6 tcp #981

Open hntcAir opened 10 months ago

hntcAir commented 10 months ago

Hi,

How can I use IPv6 , TCP (replace IPv4):

example: [Unit] Description=GO Simple Tunnel After=network.target Wants=network.target [Service] Type=simple ExecStart=/usr/local/bin/gost -L=tcp://:401/167.167.169.169:8080 -L=tcp://:401/2a01:4r6:c011:3vd3::/64:8080 [Install] WantedBy=multi-user.target

Thank you.

ginuerzh commented 9 months ago

the IPv6 address format should be similar to [2001:db8::1]:8080.