I have set up Soft Ether with all clients disabling their UDP acceleration because this would lead to unstable connections.
Today I noticed why: My router/firewall has only port forwardings for TCP/5555 and not for UDP ports, so all UDP connections were dropped. I saw blocked connection attempts to UDP/40000 and UDP/40001 for the two clients I tested.
What is the port range SoftEther uses for UDP acceleration, so I can forward the correct range? Right now I'm using UDP/40000-41000 (I have maybe 10 clients) and so far that seems to work, but I'm not sure that's enough.
Throughput with UDP acceleration on has roughly doubled, so I don't want to turn it off again ;)
Ports used for UDP acceleration
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Ports used for UDP acceleration
SoftEther VPN use this ports.
https://github.com/SoftEtherVPN/SoftEth ... cel.h#L139
https://github.com/SoftEtherVPN/SoftEth ... cel.h#L139
-
- Posts: 2
- Joined: Fri Aug 25, 2017 2:42 pm
Re: Ports used for UDP acceleration
Excellent. Thank you very much! (And also for cleaning up the SPAM)
Maybe you could include that fact in the documentation somewhere?
Maybe you could include that fact in the documentation somewhere?
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Ports used for UDP acceleration
The information isn't written in the documents (also UDP acceleration function).