Possible to bind port for UDP forwards
smarek opened this issue · 2 comments
smarek commented
Using ssf to proxy udp traffic, i need to force ssf to send out udp traffic from specific port. Now when I do
// 10.0.0.2 ssf server
./ssf 10.0.0.2 -V server_ip:server_port:remote_ip:remote_port
the datagram gets send from random bound port while I need it to be sent out from specific port.
Would it be possible to expand the configuration like
./ssf 10.0.0.1 -V server_ip:server_port:remote_ip:remote_port[:server_out_port]
eg. force port which will be used to send UDP dgram to remote_ip:remote_port
?
Same goes for -U
smarek commented
Specifically also it could support situation where listening for input on eg. port 1234 (packet incoming from port 4321) the other side of tunnel would ad-hoc send the packet (if possible) from 4321 to port 1234, thus making the client port agnostic and transport as transparent as possible
T-Bonhagen commented
Need this too, to forward dhcp relay