Windows 10: IP route not working for VPN connection

Discus and support IP route not working for VPN connection in Windows 10 Network and Sharing to solve the problem; I am on Windows 10 Home Version 1903 I have installed SonicWall VPN as a workaround and Cisco VPN client. My VPN client shows "connected" a few secs... Discussion in 'Windows 10 Network and Sharing' started by MartinQuevedo, Mar 9, 2020.

  1. IP route not working for VPN connection


    I am on Windows 10 Home Version 1903

    I have installed SonicWall VPN as a workaround and Cisco VPN client. My VPN client shows "connected" a few secs after I start the vpn session

    VPN Client creates the following IP Interface on my Windows

    Ethernet adapter Ethernet 3: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::745b:83cd:3481:761f%12 IPv4 Address. . . . . . . . . . . : 172.77.0.114 Subnet Mask . . . . . . . . . . . : 255.255.255.248 Default Gateway . . . . . . . . . :

    And also Configures the following IP Routing rules

    IPv4 Route Table===========================================================================Active Routes:Network Destination Netmask Gateway Interface Metric 172.16.0.0 255.255.0.0 172.77.0.113 172.77.0.114 100 172.77.0.112 255.255.255.248 On-link 172.77.0.114 291 172.77.0.114 255.255.255.255 On-link 172.77.0.114 291 172.77.0.119 255.255.255.255 On-link 172.77.0.114 291

    I am supposed to connect to remote server IP address

    172.16.14.65

    when I execute the following PowerShell command line

    Find-NetRoute -RemoteIPAddress "172.16.14.65" Select-Object ifIndex,DestinationPrefix,IPAddress,InterfaceAlias,NextHop,RouteMetric -Last 1

    I get this result

    ifIndex : 12DestinationPrefix : 172.16.0.0/16IPAddress :InterfaceAlias : Ethernet 3NextHop : 172.77.0.113RouteMetric : 65

    So, what I get from this is that the route should work as expected.

    I am running wireshark on Ethernet 3 interface and I am checking on traffic on this interface.

    When I try to ping 172.16.14.65, I do not see any traffic going through this interface in Wireshark as a matter of fact, when i sniff traffic on all interfaces, i dont see any icmp traffic at all

    Can anyone show me some pointers as to what could be wrong here ?

    best regards, Martin

    :)
     
    MartinQuevedo, Mar 9, 2020
    #1

  2. VPN routing table issues on 1809

    I have a program using DotRas to set up a VPN connection. My program will set the VPN interface not as the default gateway and insert custom routing rules so that other programs won't pass through the VPN connection.

    Code:
    // works before 1809 updateRasEntry entry = RasEntry.CreateVpnEntry(EntryName, VPN_Name, strategy, device);
    
    entry.Options.RemoteDefaultGateway = false;
    
    entry.Options.IPv6RemoteDefaultGateway = false;
    I'm 100% sure it works before the1809 update.
    After install 1809 update, I got two new routing rules:

    Before connecting VPN connection:

    Code:
    Route     Mask    Gateway     Interface      Metrics0.0.0.0    0.0.0.0    192.168.1.1(my router ip)    192.168.1.2(my ip)   
    [b]36[/b](other)
    After connecting:
    Code:
    Route     Mask    Gateway     Interface      Metrics0.0.0.0    0.0.0.0    192.168.1.1(my router ip)    192.168.1.2(my ip)   
    [b]4276[/b]0.0.0.0    0.0.0.0    On-Link    10.0.0.68(my vpn interface ip)   
    [b]26[/b]10.0.0.68  0.0.0.0    On-Link    10.0.0.68(my vpn interface ip)    [b]281[/b](other)
    I figured that after connecting it is inserted with two loopback routing rules and all traffic will go through the vpn interface.
    Googled found no solution but some other discussions:

    RDP issues on 1809 via vpn : sysadmin

    https://devcentral.f5.com/questions...-internet-connection-with-connected-vpn-61983

    https://support.f5.com/csp/article/K18448121
     
    violarulan, Mar 9, 2020
    #2
  3. ruthlez Win User
    Network Routing Tables


    Hi everyone!


    I recently started using a VPN. However some websites block VPN ips so I can't visit them.
    To solve this problem I would like to add the blocked website's IP to my route table.
    It works fine on my other laptops but on my PC it doesn't seem to function. I ran the following command as an administrator in my cmd. Got the OK! feedback message but I still get blocked from visiting the website when on a VPN.


    Code:
    Code:
    Route add [website IP] [Default Gateway]


    At the bottom of this screenshot :


    IP route not working for VPN connection [​IMG]



    you can see that the IP is indeed added to the list but sadly it doesn't function. I have been suggested to reinstall my Windows 10 but was wondering if there aren't any other solutions to this problem.


    Thanks in advance!
     
    ruthlez, Mar 9, 2020
    #3
  4. Knoxx29 Win User

    IP route not working for VPN connection

    Vpn ( trusted Vpn)

    Hi everyone.
    I am not an expert about Vpn and that's why I would like to know if someone could list me a few trusted Vpns, I would really appreciate any suggestion/ advice.

    Thanks.
     
    Knoxx29, Mar 9, 2020
    #4
Thema:

IP route not working for VPN connection

Loading...
  1. IP route not working for VPN connection - Similar Threads - route working VPN

  2. VPN connects but wont allow to connect to ip or internet

    in Windows 10 Gaming
    VPN connects but wont allow to connect to ip or internet: I did not renew my subscription to Cylance software and it uninstalled itself.Since that time Cisco and Forticlient both will connect but does not allow me to access the internet and IP’s I accessed before.We used Cylance removal tool to remove anything that their uninstall...
  3. VPN connects but wont allow to connect to ip or internet

    in Windows 10 Software and Apps
    VPN connects but wont allow to connect to ip or internet: I did not renew my subscription to Cylance software and it uninstalled itself.Since that time Cisco and Forticlient both will connect but does not allow me to access the internet and IP’s I accessed before.We used Cylance removal tool to remove anything that their uninstall...
  4. VPN IP

    in Windows 10 Gaming
    VPN IP: When connecting to the VPN, the IP appears on the device different from the real IP of the VPN. For example, the real IP of the VPN is 10.217.228.96, while the IP that appears on the device is 169.254.175.77. How do I solve the problem?...
  5. VPN IP

    in Windows 10 Software and Apps
    VPN IP: When connecting to the VPN, the IP appears on the device different from the real IP of the VPN. For example, the real IP of the VPN is 10.217.228.96, while the IP that appears on the device is 169.254.175.77. How do I solve the problem?...
  6. Exclude Routes Windows 10 VPN

    in Windows 10 Customization
    Exclude Routes Windows 10 VPN: I'm hoping to either modify my existing VPN connections on my windows computer or create a new VPN profile with the exclusion routes.My VPN connection is a forced tunnel.I came across this documentation Optimizing Office 365 traffic for remote workers with the native Windows...
  7. IP IN VPN

    in Windows 10 Network and Sharing
    IP IN VPN: Greetings! I really need help. Can I change the IP and make the computer think that you are in another place? Enable any IP address in the VPN. Website from which I download this document I want that system to see me as a new user every time when I go on there.I tried vpn,...
  8. IP in VPN

    in Windows 10 Network and Sharing
    IP in VPN: Greetings! I really need help. Can I change the IP and make the computer think that you are in another place? Enable any IP address in the VPN. I would really appreciate it if you help....
  9. Can't set route for VPN

    in Windows 10 Network and Sharing
    Can't set route for VPN: Hi, I got the following issue. I connected to VPN server and got the following routes table: =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.231.2...
  10. How to refresh routing after VPN create and connect

    in Windows 10 Network and Sharing
    How to refresh routing after VPN create and connect: After I've created VPN, connecting and trying to access network path on the PC in the VPN network I am unable to access it until I start the command "tracert google.hr". Tracert is not an option because it takes too long and I can't run that on client machines. What is the...