Page 1 of 1

NAT Traversal *** How does this work ?

Posted: Wed Sep 25, 2013 6:35 pm
by centeredki69
Thank you for providing this wonderful VPN software!

I am unclear how NAT Traversal works. How does the client or cascade connection know where the VPN server is behind my Router/NAT firewall. If I don't open and forward the port on the Router to the local softether VPN server IP address. How will it find it ?

I am currently using port 5555 on a Server to Bridge setup. (It is running great)

However when I don't open and forward port 5555 on the Router/NAT the Server is behind to the server local IP the Bridge cannot connect.

I would love to close all ports and still have the VPN connection.

I appreciate your help and direction on setting up NAT Traversal.

Thank you

Re: NAT Traversal *** How does this work ?

Posted: Thu Sep 26, 2013 11:50 am
by kh_tsang
When I do a packet capturing on the network adapter, it show that NAT Traversal is using UDP.

The listening ports are TCP ports and HTTPS is used, you must open the ports for TCP connections like a normal HTTPS web server.

Re: NAT Traversal *** How does this work ?

Posted: Thu Sep 26, 2013 2:40 pm
by centeredki69
Thank you for your reply.

So I would only need to open the TCP listening ports on the Server Firewall ie: the PC/Server the VPN is installed on.

I do not need to open the ports on the Router-NAT/Firewall.

I have tested this and it does work.

Thank you for your help.

Re: NAT Traversal *** How does this work ?

Posted: Sat Sep 28, 2013 5:21 am
by dnobori
Hi.

You can disable the NAT Traversal function on the VPN Server by followings:

1. Stop vpnserver service.
2. Open vpn_server.config by your text editor.
3. Modify the field:
bool DisableNatTraversal false -> true
4. Start vpnserver service.