Page 1 of 1

Can't connect without SecureNat

Posted: Sat Oct 08, 2016 10:46 am
by Malheiros
Hello,

My problem is I cannot connect to my SoftEther vpn server, unless SecureNat is turned on, and you know it's slow and gets slower gradually.

There are two physical cards on my server. eth0 is connected to wan and eth1 is connected to the local network of the datacenter. I created a bridge with eth0 for my virtual hub and it is connected without errors. It seems like a dhcp problem, but I couldn't figure out how to solve it.

Thanks in advance.

ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:07:cb:0b:4f:f5
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:255.255.255.0
inet6 addr: fe80::207:cbff:fe0b:4ff5/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:542970 errors:0 dropped:0 overruns:6 frame:0
TX packets:1028672 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:106158525 (101.2 MiB) TX bytes:334036192 (318.5 MiB)
Memory:80000000-8001ffff

eth1 Link encap:Ethernet HWaddr 00:07:cb:0b:4f:f6
BROADCAST PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Memory:80020000-8003ffff

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4591 errors:0 dropped:0 overruns:0 frame:0
TX packets:4591 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15448646 (14.7 MiB) TX bytes:15448646 (14.7 MiB)

uname -a
Linux xxxxxx 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux

Re: Can't connect without SecureNat

Posted: Mon Oct 10, 2016 10:37 am
by Malheiros
So, I read some documentation and set "NoPromiscuousMode" to true, but it still no successful connection.

Error message is:
2016-10-10 12:35:57.442 L2TP PPP Session [xxx.xxx.xxx.xxx:1701]: Acquiring the networking information from the DHCP server failed. To accept a PPP session, you need to have a DHCP server. Make sure that a DHCP server is working normally in the Ethernet segment which the Virtual Hub belongs to. If you do not have a DHCP server, you can use the Virtual DHCP function of the SecureNAT on the Virtual Hub instead.

No DHCP server... :/

Re: Can't connect without SecureNat

Posted: Wed Nov 02, 2016 7:22 am
by cedar
Is there any DHCP server on localbridged network?
If there isn't or is only on the VPN server host, please try virtual DHCP function in SecureNAT.
Slow down may not occur without using virtual NAT function.