I want to create a SOCKS5 proxy using a specific network interface. The reason is that I want to use Chrome using a specific network interface, but I can only set up a proxy in Chrome.
I created a SOCKS5 proxy by goproxy
proxy socks -t tcp -p '127.0.0.1:1080'
Although the manual says it can bind to a specific network interface, I was unable to do so.
Any other simple solution is welcome. I just need to create 127.0.0.1:1080 proxy redirecting the traffic from tun1.