Problem to connect to the SoftEther VPN Server behind NAT
Posted: Fri Dec 05, 2014 2:40 pm
Hi, SoftEther,
I've faced with the connection problem to the SoftEther VPN Server behind NAT.
The SoftEther Version 4.12 Build 9514 is used.
Actually I have the following configuration:
1. macbook pro with SoftEther VPN Server behind NAT (Mac OS X 10.9)
2. digital ocean server with static IP with SoftEther VPN Client (CentOS 6.4 x64)
The configuration was made just in the test purposes.
On the VPNserver side I've enabled VpnAzure
VPN Server/VPN>VpnAzureGetStatus
VpnAzureGetStatus command - Show the current status of VPN Azure function
Item |Value
---------------------------------------------------+----------------------
VPN Azure Function is Enabled |Yes
Connection to VPN Azure Cloud Server is Established|Yes
Hostname of this VPN Server on VPN Azure Service |valgussev.vpnazure.net
The command completed successfully.
VPN Server/VPN>DynamicDnsGetStatus
DynamicDnsGetStatus command - Show the Current Status of Dynamic DNS Function
Item |Value
----------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------
Assigned Dynamic DNS Hostname (Full) |valgussev.softether.net
Assigned Dynamic DNS Hostname (Hostname)|valgussev
DNS Suffix |.softether.net
Global IPv4 Address |178.238.117.98
Global IPv6 Address |Connection to the server failed. Check network connection and make sure that address and port number of destination server are correct.
The command completed successfully.
On the VPNclient side I've connected to VPNserver
VPN Client>AccountStatusGet myconnection
AccountStatusGet command - Get Current VPN Connection Setting Status
Item |Value
------------------------------------------+------------------------------------------
VPN Connection Setting Name |myconnection
Session Status |Connection Completed (Session Established)
VLAN ID |-
Server Name |valgussev.vpnazure.net
Port Number |TCP Port 443
Server Product Name |SoftEther VPN Server (64 bit)
Server Version |4.12
Server Build |Build 9514
Connection Started at |2014-12-05 (Fri) 08:53:27
First Session has been Established since |2014-12-05 (Fri) 08:53:33
Current Session has been Established since|2014-12-05 (Fri) 08:53:33
Number of Established Sessions |1 Times
Half Duplex TCP Connection Mode |No (Full Duplex Mode)
VoIP / QoS Function |Enabled
Number of TCP Connections |2
Maximum Number of TCP Connections |2
Encryption |Enabled (Algorithm: RC4-MD5)
Use of Compression |No (No Compression)
Physical Underlay Protocol |TCP/IP via VPN Azure (IPv4)
UDP Acceleration is Supported |Yes
UDP Acceleration is Active |Yes
Session Name |SID-TEST-2
Connection Name |CID-2
Session Key (160 bit) |1113E2059CE3FD650ABA5593EB3A3CEFC5C2F56F
Bridge / Router Mode |No
Monitoring Mode |No
Outgoing Data Size |14,206 bytes
Incoming Data Size |14,331 bytes
Outgoing Unicast Packets |50 packets
Outgoing Unicast Total Size |4,140 bytes
Outgoing Broadcast Packets |6 packets
Outgoing Broadcast Total Size |468 bytes
Incoming Unicast Packets |20 packets
Incoming Unicast Total Size |1,720 bytes
Incoming Broadcast Packets |42 packets
Incoming Broadcast Total Size |2,562 bytes
The command completed successfully.
SecureNAT is enabled.
configuration files attached.
remote login is enable on my mac ssh valgussev@192.168.1.51
ping is ok
[root@webtest ~]# ping valgussev.vpnazure.net
PING valgussev.vpnazure.net (130.158.6.125) 56(84) bytes of data.
64 bytes from 130.158.6.125: icmp_seq=1 ttl=49 time=291 ms
telnet on 443 is ok
[root@webtest ~]# telnet valgussev.vpnazure.net 443
Trying 130.158.6.125...
Connected to valgussev.vpnazure.net.
Escape character is '^]'.
So if the VPNclient is connected to VPNserver it should be possible to connect to my macbook pro from the digital ocean server using ssh valgussev@192.168.1.51, unfortunately this private IP is unreachable.
Could you please suggest me what am I doing wrong?
I've faced with the connection problem to the SoftEther VPN Server behind NAT.
The SoftEther Version 4.12 Build 9514 is used.
Actually I have the following configuration:
1. macbook pro with SoftEther VPN Server behind NAT (Mac OS X 10.9)
2. digital ocean server with static IP with SoftEther VPN Client (CentOS 6.4 x64)
The configuration was made just in the test purposes.
On the VPNserver side I've enabled VpnAzure
VPN Server/VPN>VpnAzureGetStatus
VpnAzureGetStatus command - Show the current status of VPN Azure function
Item |Value
---------------------------------------------------+----------------------
VPN Azure Function is Enabled |Yes
Connection to VPN Azure Cloud Server is Established|Yes
Hostname of this VPN Server on VPN Azure Service |valgussev.vpnazure.net
The command completed successfully.
VPN Server/VPN>DynamicDnsGetStatus
DynamicDnsGetStatus command - Show the Current Status of Dynamic DNS Function
Item |Value
----------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------
Assigned Dynamic DNS Hostname (Full) |valgussev.softether.net
Assigned Dynamic DNS Hostname (Hostname)|valgussev
DNS Suffix |.softether.net
Global IPv4 Address |178.238.117.98
Global IPv6 Address |Connection to the server failed. Check network connection and make sure that address and port number of destination server are correct.
The command completed successfully.
On the VPNclient side I've connected to VPNserver
VPN Client>AccountStatusGet myconnection
AccountStatusGet command - Get Current VPN Connection Setting Status
Item |Value
------------------------------------------+------------------------------------------
VPN Connection Setting Name |myconnection
Session Status |Connection Completed (Session Established)
VLAN ID |-
Server Name |valgussev.vpnazure.net
Port Number |TCP Port 443
Server Product Name |SoftEther VPN Server (64 bit)
Server Version |4.12
Server Build |Build 9514
Connection Started at |2014-12-05 (Fri) 08:53:27
First Session has been Established since |2014-12-05 (Fri) 08:53:33
Current Session has been Established since|2014-12-05 (Fri) 08:53:33
Number of Established Sessions |1 Times
Half Duplex TCP Connection Mode |No (Full Duplex Mode)
VoIP / QoS Function |Enabled
Number of TCP Connections |2
Maximum Number of TCP Connections |2
Encryption |Enabled (Algorithm: RC4-MD5)
Use of Compression |No (No Compression)
Physical Underlay Protocol |TCP/IP via VPN Azure (IPv4)
UDP Acceleration is Supported |Yes
UDP Acceleration is Active |Yes
Session Name |SID-TEST-2
Connection Name |CID-2
Session Key (160 bit) |1113E2059CE3FD650ABA5593EB3A3CEFC5C2F56F
Bridge / Router Mode |No
Monitoring Mode |No
Outgoing Data Size |14,206 bytes
Incoming Data Size |14,331 bytes
Outgoing Unicast Packets |50 packets
Outgoing Unicast Total Size |4,140 bytes
Outgoing Broadcast Packets |6 packets
Outgoing Broadcast Total Size |468 bytes
Incoming Unicast Packets |20 packets
Incoming Unicast Total Size |1,720 bytes
Incoming Broadcast Packets |42 packets
Incoming Broadcast Total Size |2,562 bytes
The command completed successfully.
SecureNAT is enabled.
configuration files attached.
remote login is enable on my mac ssh valgussev@192.168.1.51
ping is ok
[root@webtest ~]# ping valgussev.vpnazure.net
PING valgussev.vpnazure.net (130.158.6.125) 56(84) bytes of data.
64 bytes from 130.158.6.125: icmp_seq=1 ttl=49 time=291 ms
telnet on 443 is ok
[root@webtest ~]# telnet valgussev.vpnazure.net 443
Trying 130.158.6.125...
Connected to valgussev.vpnazure.net.
Escape character is '^]'.
So if the VPNclient is connected to VPNserver it should be possible to connect to my macbook pro from the digital ocean server using ssh valgussev@192.168.1.51, unfortunately this private IP is unreachable.
Could you please suggest me what am I doing wrong?