extremecoders-re / go-dispatch-proxy

SOCKS5/Transparent load balancing proxy developed in Go, combines multiple internet connections
MIT License
278 stars 45 forks source link

Implement SO_BINDTODEVICE #6

Closed Magissia closed 3 years ago

Magissia commented 3 years ago

Hello, would be nice if it was possible to implement SO_BINDTODEVICE for full linux compatibility.

For various reasons, Go is preferred over nodejs for low power MIPS based devices and your tool happens to compile and run without errors in it's current state on MIPS.

extremecoders-re commented 3 years ago

This feature is definitely on the TODO list. Didn't get the time to work on this yet.

Meanwhile, it's always possible to manually set up the routing tables based on source IP and go-dispatch-proxy should work as expected.

extremecoders-re commented 3 years ago

This has been implemented in the latest version.