Can't set route for VPN


  1. Posts : 4
    Win 10 Home Edition x64
       #1

    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 192.168.231.128 10
    10.9.3.96 255.255.255.252 10.9.3.98 10.9.3.98 30
    10.9.3.98 255.255.255.255 127.0.0.1 127.0.0.1 30
    10.255.255.255 255.255.255.255 10.9.3.98 10.9.3.98 30
    127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
    192.168.231.0 255.255.255.0 192.168.231.128 192.168.231.128 10
    192.168.231.128 255.255.255.255 127.0.0.1 127.0.0.1 10
    192.168.231.255 255.255.255.255 192.168.231.128 192.168.231.128 10
    224.0.0.0 240.0.0.0 10.9.3.98 10.9.3.98 30
    224.0.0.0 240.0.0.0 192.168.231.128 192.168.231.128 10
    255.255.255.255 255.255.255.255 10.9.3.98 5 1
    255.255.255.255 255.255.255.255 10.9.3.98 4 1
    255.255.255.255 255.255.255.255 10.9.3.98 10007 1
    255.255.255.255 255.255.255.255 10.9.3.98 10.9.3.98 1
    255.255.255.255 255.255.255.255 192.168.231.128 192.168.231.128 1
    Default Gateway: 192.168.231.2
    ===========================================================================
    With bold I emphasized the routes appeared after VPN connection's establishing. Now I need to redirect all traffic to the VPN connection I do it via the following commands:

    route delete 0.0.0.0 mask 0.0.0.0 192.168.231.2
    route add 0.0.0.0 mask 0.0.0.0 10.9.3.98 metric 8


    As a result I get the following table:

    ===========================================================================
    Active Routes:
    Network Destination Netmask Gateway Interface Metric
    0.0.0.0 0.0.0.0 10.9.3.98 10.9.3.98 8
    10.9.3.96 255.255.255.252 10.9.3.98 10.9.3.98 30
    10.9.3.98 255.255.255.255 127.0.0.1 127.0.0.1 30
    10.255.255.255 255.255.255.255 10.9.3.98 10.9.3.98 30
    127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
    192.168.231.0 255.255.255.0 192.168.231.128 192.168.231.128 10
    192.168.231.128 255.255.255.255 127.0.0.1 127.0.0.1 10
    192.168.231.255 255.255.255.255 192.168.231.128 192.168.231.128 10
    224.0.0.0 240.0.0.0 10.9.3.98 10.9.3.98 30
    224.0.0.0 240.0.0.0 192.168.231.128 192.168.231.128 10
    255.255.255.255 255.255.255.255 10.9.3.98 5 1
    255.255.255.255 255.255.255.255 10.9.3.98 4 1
    255.255.255.255 255.255.255.255 10.9.3.98 10007 1
    255.255.255.255 255.255.255.255 10.9.3.98 10.9.3.98 1
    255.255.255.255 255.255.255.255 192.168.231.128 192.168.231.128 1
    Default Gateway: 10.9.3.98
    ===========================================================================
    But I can't even PING any site or PC. How can I resolve this issue?
      My Computer


  2. Posts : 8,106
    windows 10
       #2

    Welcome to the forum from a cmd prompt type

    Tracert 194.119.131.66

    Post results that will show were it's actually going. What is your DNS set to it shouldn't be local router
      My Computer


  3. Posts : 4
    Win 10 Home Edition x64
    Thread Starter
       #3

    Connected to the VPN again, got this route table:
    ===========================================================================
    Active Routes:
    Network Destination Netmask Gateway Interface Metric
    0.0.0.0 0.0.0.0 192.168.231.2 192.168.231.128 10
    10.211.1.32 255.255.255.252 10.211.1.33 10.211.1.33 30
    10.211.1.33 255.255.255.255 127.0.0.1 127.0.0.1 30
    10.255.255.255 255.255.255.255 10.211.1.33 10.211.1.33 30
    127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
    192.168.231.0 255.255.255.0 192.168.231.128 192.168.231.128 10
    192.168.231.128 255.255.255.255 127.0.0.1 127.0.0.1 10
    192.168.231.255 255.255.255.255 192.168.231.128 192.168.231.128 10
    224.0.0.0 240.0.0.0 10.211.1.33 10.211.1.33 30
    224.0.0.0 240.0.0.0 192.168.231.128 192.168.231.128 10
    255.255.255.255 255.255.255.255 10.211.1.33 5 1
    255.255.255.255 255.255.255.255 10.211.1.33 4 1
    255.255.255.255 255.255.255.255 10.211.1.33 10007 1
    255.255.255.255 255.255.255.255 10.211.1.33 10.211.1.33 1
    255.255.255.255 255.255.255.255 192.168.231.128 192.168.231.128 1
    Default Gateway: 192.168.231.2
    ===========================================================================
    Persistent Routes:
    None
    Added new route via:

    route add 0.0.0.0 mask 0.0.0.0 10.211.1.32 metric 8

    Got this route table:
    ===========================================================================
    Active Routes:
    Network Destination Netmask Gateway Interface Metric
    0.0.0.0 0.0.0.0 10.211.1.32 10.211.1.33 8
    0.0.0.0 0.0.0.0 192.168.231.2 192.168.231.128 10
    10.211.1.32 255.255.255.252 10.211.1.33 10.211.1.33 30
    10.211.1.33 255.255.255.255 127.0.0.1 127.0.0.1 30
    10.255.255.255 255.255.255.255 10.211.1.33 10.211.1.33 30
    127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
    192.168.231.0 255.255.255.0 192.168.231.128 192.168.231.128 10
    192.168.231.128 255.255.255.255 127.0.0.1 127.0.0.1 10
    192.168.231.255 255.255.255.255 192.168.231.128 192.168.231.128 10
    224.0.0.0 240.0.0.0 10.211.1.33 10.211.1.33 30
    224.0.0.0 240.0.0.0 192.168.231.128 192.168.231.128 10
    255.255.255.255 255.255.255.255 10.211.1.33 5 1
    255.255.255.255 255.255.255.255 10.211.1.33 4 1
    255.255.255.255 255.255.255.255 10.211.1.33 10007 1
    255.255.255.255 255.255.255.255 10.211.1.33 10.211.1.33 1
    255.255.255.255 255.255.255.255 192.168.231.128 192.168.231.128 1
    Default Gateway: 10.211.1.32
    ===========================================================================
    Persistent Routes:
    None
    Your traceroute output:


    C:\VPN>Tracert 194.119.131.66

    Tracing route to cns1.uk.vianw.net [194.119.131.66]
    over a maximum of 30 hops:

    1 * * * Request timed out.
    2 * * * Request timed out.
    3 * * * Request timed out.
    4 * * * Request timed out.
    5 * * * Request timed out.
    6 * * * Request timed out.
    7 * * * Request timed out.
    8 * * * Request timed out.
    9 * * * Request timed out.
    10 * * * Request timed out.
    11 * * * Request timed out.
    12 * * * Request timed out.
    13 * * * Request timed out.
    14 * * * Request timed out.
    15 * * * Request timed out.
    16 * * * Request timed out.
    17 * * * Request timed out.
    18 * * * Request timed out.
    19 * * * Request timed out.
    20 * * * Request timed out.
    21 * * * Request timed out.
      My Computer


  4. Posts : 8,106
    windows 10
       #4

    What is the ip for vpn are you running a VPN concentrator
      My Computer


  5. Posts : 4
    Win 10 Home Edition x64
    Thread Starter
       #5

    Do you mean ip for VPN server?
      My Computer


  6. Posts : 8,106
    windows 10
       #6

    vpn ip if your not using concentrator
      My Computer


  7. Posts : 4
    Win 10 Home Edition x64
    Thread Starter
       #7

    Still not getting what you mean under "vpn ip" and concentrator. I use an OVPN file and have no idea what is on VPN server side (VPN server name is vpn201606280.opengw.net).
      My Computer


  8. Posts : 9,765
    Mac OS Catalina
       #8

    Since you are using OpenVPN, I would suggest using their WIKI for this. BridgingAndRouting – OpenVPN Community
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:30.
Find Us




Windows 10 Forums