tcp listen on any ip any port with gvisor

508 Views Asked by At

How to use the tcpip stack in gvisor to implement tun2socks?

gvisor.dev/gvisor/pkg/tcpip/stack (https://github.com/google/netstack)

1

There are 1 best solutions below

0
On

https://github.com/xjasonlyu/tun2socks is a tun2socks implementation built on top of gVisor's netstack which may serve as a good reference, or directly meet your needs.