Disable NAT-T doesn't work

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
arprip
Posts: 27
Joined: Wed Feb 26, 2014 3:36 am

Disable NAT-T doesn't work

Post by arprip » Wed Apr 02, 2014 10:00 am

Hi, All:

Is there anyone had tried to use disable NAT-T feature ?
In my test case. All of server and client already are version v4.06-9433
my client can easy to connect to server by unselect Disable NAT-T.

but if select Disable NAT-T , the result will be fail. softether client will show me

Error (Error Code 1):
Connection to the server failed. Check network connection and make sure that address and port number of destination sever are correct.


I had tried to enable port accept by the iptables command, but the result is fail.
iptables -t nat -A WAN -p tcp --dport 992 -j ACCEPT
iptables -t nat -A WAN -p tcp --dport 1194 -j ACCEPT
iptables -t nat -A WAN -p tcp --dport 5555 -j ACCEPT

What is the steps that I am missing to do ?

inten
Posts: 370
Joined: Fri Oct 18, 2013 8:15 am
Location: All around the world
Contact:

Re: Disable NAT-T doesn't work

Post by inten » Wed Apr 02, 2014 10:04 am

arprip wrote:
> Hi, All:
>
> Is there anyone had tried to use disable NAT-T feature ?

I did, it works as intended.

> iptables -t nat -A WAN -p tcp --dport 992 -j ACCEPT
> iptables -t nat -A WAN -p tcp --dport 1194 -j ACCEPT
> iptables -t nat -A WAN -p tcp --dport 5555 -j ACCEPT

Where is port 443?
When you don't like the answer, change the question.
Cheers,
Team.

VPNHPanel.com
This account is not associated to SoftEther project.

arprip
Posts: 27
Joined: Wed Feb 26, 2014 3:36 am

Re: Disable NAT-T doesn't work

Post by arprip » Wed Apr 02, 2014 10:12 am

By default , there is 4 ports for softether vpnserver.

but I disable it because I need it for my web server

I don't use port 443 on softether vpnserver.

inten
Posts: 370
Joined: Fri Oct 18, 2013 8:15 am
Location: All around the world
Contact:

Re: Disable NAT-T doesn't work

Post by inten » Wed Apr 02, 2014 10:21 am

arprip wrote:
> By default , there is 4 ports for softether vpnserver.
>
> but I disable it because I need it for my web server
>
> I don't use port 443 on softether vpnserver.

put a screenshot of the client here.

arprip
Posts: 27
Joined: Wed Feb 26, 2014 3:36 am

Re: Disable NAT-T doesn't work

Post by arprip » Wed Apr 02, 2014 10:45 am

I had modified client setting for my port 992 / 1194 / 5555

All of three settings are all result to fail by using Disable NAT-T feature.
You do not have the required permissions to view the files attached to this post.

inten
Posts: 370
Joined: Fri Oct 18, 2013 8:15 am
Location: All around the world
Contact:

Re: Disable NAT-T doesn't work

Post by inten » Wed Apr 02, 2014 11:06 am

Ignore everything I wrote before.

> arprip wrote:

> > iptables -t nat -A WAN -p tcp --dport 992 -j ACCEPT
> > iptables -t nat -A WAN -p tcp --dport 1194 -j ACCEPT
> > iptables -t nat -A WAN -p tcp --dport 5555 -j ACCEPT

You should allow "INPUT" chain, that's why you have a problem.

arprip
Posts: 27
Joined: Wed Feb 26, 2014 3:36 am

Re: Disable NAT-T doesn't work

Post by arprip » Thu Apr 03, 2014 2:55 am

Thanks for the informations.

You are right, Put the command to wrong iptables chain.

After corrected, it work now.

Post Reply