itlezy / eMule

eMule Community - broadband edition
31 stars 1 forks source link

udp port forwarding in virtualbox #2

Open andry81 opened 1 year ago

andry81 commented 1 year ago

I've tried to tcp/udp port forward vpn connection from guest-with-vpn to guest-with-emule and have found that the udp port forwarding is not working in case of different ports:

>socat.exe TCP4-LISTEN:42586,fork TCP4:192.168.100.6:42586
>socat.exe UDP4-LISTEN:42586,fork,reuseaddr,bind=0.0.0.0 UDP4:192.168.100.6:42588

emule-tcp-udp-test-fail

If change udp port from 42588 to 42586, then test does pass completely.

I suspect there is some issue inside emule.

itlezy commented 1 year ago

not sure if this behavior is different compared to eMule community release, have you checked that? tbh I always use two different ports for tcp vs udp

andry81 commented 1 year ago

not sure if this behavior is different compared to eMule community release, have you checked that? tbh I always use two different ports for tcp vs udp

Seems no difference. But I've found another issue. If try to enable protocol obfuscation Security->Enable protocol obfuscation, then the UDP test fails even with equal ports.