I have a compiled binary linux application that selects particualar network interface by system call setsockopt(.., SO_BINDTODEVICE,.. ).
I want to change interface.
As for me there can be this options:
Is it possible to change route interface?
I want to change interface.
As for me there can be this options:
- App reverse engineering, patch the binary.
- Patch the linux kernel so it will not pay attention for SO_BINDTODEVICE.
- May be some routing trick with iptables patch-o-matic.
Is it possible to change route interface?