Unable to Ping IP of VPN Server

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
vikaskiranjain
Posts: 4
Joined: Tue Aug 08, 2023 6:27 am

Unable to Ping IP of VPN Server

Post by vikaskiranjain » Tue Aug 08, 2023 6:37 am

Dear All,

I have done setup of VPN Server on Ubuntu 20.0.4 Server and following is configuration

Secure Nat
declare SecureNAT
{
bool Disabled false
bool SaveLog false

declare VirtualDhcpServer
{
string DhcpDnsServerAddress 192.168.31.1
string DhcpDnsServerAddress2 0.0.0.0
string DhcpDomainName $
bool DhcpEnabled true
uint DhcpExpireTimeSpan 7200
string DhcpGatewayAddress 192.168.31.1
string DhcpLeaseIPEnd 192.168.31.200
string DhcpLeaseIPStart 192.168.31.10
string DhcpPushRoutes 192.168.17.88/255.255.255.255/192.168.31.1
string DhcpSubnetMask 255.255.255.0
}
declare VirtualHost
{
string VirtualHostIp 192.168.31.1
string VirtualHostIpSubnetMask 255.255.255.0
string VirtualHostMacAddress 5E-87-E3-A5-03-BF
}




My Physical Server IP is 192.168.17.88, i am able to ping other Servers when connecting VPN from Remote Site but not able to Ping and connect Actual VPN Server on IP 192.168.17.88



Ping Response

C:\Users\vikas>ping 192.168.17.66

Pinging 192.168.17.66 with 32 bytes of data:
Reply from 192.168.17.66: bytes=32 time=15ms TTL=63
Reply from 192.168.17.66: bytes=32 time=20ms TTL=63
Reply from 192.168.17.66: bytes=32 time=254ms TTL=63
Reply from 192.168.17.66: bytes=32 time=15ms TTL=63

Ping statistics for 192.168.17.66:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 15ms, Maximum = 254ms, Average = 76ms

C:\Users\vikas>ping 192.168.17.88

Pinging 192.168.17.88 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.17.88:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),


Tracert Response

C:\Users\vikas>tracert 192.168.17.66

Tracing route to 192.168.17.66 over a maximum of 30 hops

1 16 ms 14 ms 13 ms 192.168.31.1
2 * 29 ms 15 ms 192.168.17.66

Trace complete.

C:\Users\vikas>tracert 192.168.17.88

Tracing route to mntpladcstd.ad.microtek.internal [192.168.17.88]
over a maximum of 30 hops:

1 13 ms 14 ms 14 ms 192.168.31.1
2 * * * Request timed out.

solo
Posts: 1287
Joined: Sun Feb 14, 2021 10:31 am

Re: Unable to Ping IP of VPN Server

Post by solo » Tue Aug 08, 2023 7:32 am

11.1.2 I am unable to communicate with the IP address of the Virtual Network Adapter used for local bridging from within the VPN.

If you are using Linux or Solaris, you can communicate within the Virtual Hub (VPN) from the network adapter connected to by the local bridge to the LAN, but you can not communicate to the network adapter itself. This is a restriction imposed by the Linux kernel. For more information please refer to 3.6 Local Bridges.
If you are using local bridging to make a bridged connection between a Virtual Hub and a physical LAN as described in section 3.6 Local Bridges, we recommend you set aside a network adapter specifically for this purpose. This will result in the best performance when using local bridging.
https://www.softether.org/4-docs/1-manu ... in_the_VPN.

vikaskiranjain
Posts: 4
Joined: Tue Aug 08, 2023 6:27 am

Re: Unable to Ping IP of VPN Server

Post by vikaskiranjain » Tue Aug 08, 2023 7:59 am

I Have Enabled Local Bridge Also but still not able to Ping Local Server

solo
Posts: 1287
Joined: Sun Feb 14, 2021 10:31 am

Re: Unable to Ping IP of VPN Server

Post by solo » Tue Aug 08, 2023 9:10 am

It has to be a double bridge with SE soft tap.

Code: Select all

  vHUB+++TAP+++
              +
             br0
              +
         NIC+++

vikaskiranjain
Posts: 4
Joined: Tue Aug 08, 2023 6:27 am

Re: Unable to Ping IP of VPN Server

Post by vikaskiranjain » Tue Aug 08, 2023 9:41 am

can you share me commands and steps i am stuck since last 2 days resolving it but not able to do it

solo
Posts: 1287
Joined: Sun Feb 14, 2021 10:31 am

Re: Unable to Ping IP of VPN Server

Post by solo » Tue Aug 08, 2023 1:26 pm


vikaskiranjain
Posts: 4
Joined: Tue Aug 08, 2023 6:27 am

Re: Unable to Ping IP of VPN Server

Post by vikaskiranjain » Thu Aug 10, 2023 10:05 am

Issue Resolved after disabling disablekernetmodesecurenat

Post Reply