Client VPN connection ok but don't ping

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
drazde
Posts: 7
Joined: Sat Mar 07, 2020 5:56 pm

Client VPN connection ok but don't ping

Post by drazde » Mon Apr 27, 2020 8:33 am

Hi,
since few days I cant' access to my machine.

The connection is ok, with AccountStatusGet I see the vpn is connected; but I cant' access at any pc and also ping doesn't work

The virtual interface don't have ip address and there isn't rules on routing table

I use Linux client and for serveral week I use it without any problem.

Why what can I do?

EDIT
This is the resoult of route

Code: Select all

 [I] ➜ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    304    0        0 wlp3s0
192.168.1.0     0.0.0.0         255.255.255.0   U     304    0        0 wlp3s0
And ifconfig

Code: Select all

 [I] ➜ ifconfig
enp4s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:22:68:0a:1e:b7  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 17

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 149  bytes 206583 (201.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 149  bytes 206583 (201.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        vpn_vpn2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::5c00:eff:fef9:a735  prefixlen 64  scopeid 0x20<link>
        ether 5e:00:0e:f9:a7:35  txqueuelen 1000  (Ethernet)
        RX packets 7871  bytes 1732596 (1.6 MiB)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 484  bytes 40041 (39.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        
vpn_vpn2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::5c00:eff:fef9:a735  prefixlen 64  scopeid 0x20<link>
        ether 5e:00:0e:f9:a7:35  txqueuelen 1000  (Ethernet)
        RX packets 7871  bytes 1732596 (1.6 MiB)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 484  bytes 40041 (39.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.4  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::7dc2:719b:48d2:4f23  prefixlen 64  scopeid 0x20<link>
        ether 00:22:fa:98:ba:72  txqueuelen 1000  (Ethernet)
        RX packets 27622  bytes 20341305 (19.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12330  bytes 1961848 (1.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        
wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.4  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::7dc2:719b:48d2:4f23  prefixlen 64  scopeid 0x20<link>
        ether 00:22:fa:98:ba:72  txqueuelen 1000  (Ethernet)
        RX packets 27622  bytes 20341305 (19.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12330  bytes 1961848 (1.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Last edited by drazde on Mon Apr 27, 2020 3:55 pm, edited 1 time in total.

genesys
Posts: 32
Joined: Tue Apr 14, 2020 10:50 pm

Re: Client VPN connection ok but don't ping

Post by genesys » Mon Apr 27, 2020 9:20 am

Are you using Hyper-V? if so, did you enable MAC spoofing on the virtual machine?

drazde
Posts: 7
Joined: Sat Mar 07, 2020 5:56 pm

Re: Client VPN connection ok but don't ping

Post by drazde » Mon Apr 27, 2020 9:41 am

No, I use a physical machine.

drazde
Posts: 7
Joined: Sat Mar 07, 2020 5:56 pm

Re: Client VPN connection ok but don't ping

Post by drazde » Mon Apr 27, 2020 5:04 pm

Sorry, but I don't have a good background of network administrator

Code: Select all

# ip neighbour
192.168.1.1 dev wlp3s0 lladdr 10:13:31:dd:70:f0 REACHABLE
fe80::2ae:4dff:fe00:ae4d dev vpn_vpn2  FAILED
This means I have a trouble with MAC address of the virtual NIC?

drazde
Posts: 7
Joined: Sat Mar 07, 2020 5:56 pm

Re: Client VPN connection ok but don't ping

Post by drazde » Thu Apr 30, 2020 5:54 am

Code: Select all

 [I] ➜ ip -br link show
lo               UNKNOWN        00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP>
enp4s0           DOWN           00:98:35:0b:57:f7 <NO-CARRIER,BROADCAST,MULTICAST,UP>
sit0@NONE        DOWN           0.0.0.0 <NOARP>
wlp3s0           UP             00:56:ff:45:8b:1a <BROADCAST,MULTICAST,UP,LOWER_UP>
vpn_vpn2         UNKNOWN        5f:b4:19:06:9b:21 <BROADCAST,MULTICAST,UP,LOWER_UP>

~
 [I] ➜ ip link set vpn_vpn2 up
RTNETLINK answers: Operation not permitted
I also try to change the MAC address with the same values of the NIC that I use in windows (where vpn works) but nothing.

I can ping VPN Server, but I don't know why the address of virtual adapter doesn't receive a ip address

Post Reply