SenseUnit / dtlspipe

Generic DTLS wrapper for UDP sessions
MIT License
132 stars 11 forks source link

Can we use the following command to enable the port hopping feature? #18

Closed egg1234 closed 11 months ago

egg1234 commented 11 months ago

Can we use the following command to enable the port hopping feature?

dtlspipe -psk xxxxxxxxxxxx server 0.0.0.0:2815-2900 127.0.0.1:514

dtlspipe -psk xxxxxxxxxxxx client 127.0.0.1:2816 203.0.113.11:2815-2900

Thank you very much!

Snawoot commented 11 months ago

Hi!

No, for a number of reasons. On server side you're better off with DNAT rule in iptables, on client side it's a separate command because its syntax is very different.