Docker-Warp-Socks
Docker-Warp-Socks copied to clipboard
Add support for external routes/devices
Hi there,
Would it be possible to add support to add routes for non local traffic? ie I want to run the proxy on a different server to the server that is going to be using it which is in a completely different subnet? At the moment on container start I need to then log in add manually add a route to my external subnet via: ip route add x.x.x.x/x via 172.17.0.1 dev eth0 but it would be great if the container can have an env say ALLOWED_SUBNETS=x.x.x.x/x,x.x.y.y/y which are then added as routes on container start.
Thank you for your consideration, much appreciated.