Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to bind port for UDP forwards #90

Open
smarek opened this issue Jan 23, 2021 · 2 comments
Open

Possible to bind port for UDP forwards #90

smarek opened this issue Jan 23, 2021 · 2 comments

Comments

@smarek
Copy link

smarek commented Jan 23, 2021

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
Copy link
Author

smarek commented Jan 24, 2021

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
Copy link

T-Bonhagen commented Jul 26, 2022

Need this too, to forward dhcp relay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants