How can i make SE listen for incoming UDP connections?

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Rouzah

How can i make SE listen for incoming UDP connections?

Post by Rouzah » Sat Jan 28, 2023 3:16 pm

Hello all,

The SE VPN server says that it is listening for incoming TCP connections, as you know. How can i make it to listen for incoming UDP?

Thanks

shakibamoshiri
Posts: 285
Joined: Wed Dec 28, 2022 9:10 pm

Re: How can i make SE listen for incoming UDP connections?

Post by shakibamoshiri » Sat Jan 28, 2023 8:00 pm

Rouzah wrote:
Sat Jan 28, 2023 3:16 pm
Hello all,

The SE VPN server says that it is listening for incoming TCP connections, as you know. How can i make it to listen for incoming UDP?

Thanks
Not sure really, but I think on OpenVPN configuration you can add more than one port, separated by "," (e.g. 1194, 1195, etc) and these will be used to listen on using UDP.

Rouzah

Re: How can i make SE listen for incoming UDP connections?

Post by Rouzah » Sun Jan 29, 2023 12:48 am

That's a good workaround.

Thanks

I am surprised that SE does not have a default UDP Listen feature.

shakibamoshiri
Posts: 285
Joined: Wed Dec 28, 2022 9:10 pm

Re: How can i make SE listen for incoming UDP connections?

Post by shakibamoshiri » Fri Feb 03, 2023 8:36 am

Rouzah wrote:
Sun Jan 29, 2023 12:48 am
That's a good workaround.

Thanks

I am surprised that SE does not have a default UDP Listen feature.
It does: 1194 is default for OpenVPN

Also setting multiport via vpncmd

Code: Select all

./vpncmd localhost:443 /server /password:your-pass  /cmd PortsUDPSet 123,1234,12345
./vpncmd localhost:443 /server /hub:VPN /password:your-pass  /cmd PortsUDPGet
./vpncmd localhost:443 /server /password:your-pass  /cmd flush

Post Reply