Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    I can't route through my openVPN tunnel

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 885 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      HC
      last edited by

      Hey all,

      im having an issue getting to my LAN from my openVPN connection. I'm able to connect to the vpn with no issues  but I cannot access anything on my LAN. I have routes in pfsense to both openvpn network and the LAN, and my laptop also has route to my pan network through my vpn tunnel.

      mac laptop routing info

      10.2/16            10.2.6.5           UGSc            0        0    tun0
      10.2.6/29          10.2.6.5           UGSc            0        0    tun0
      10.2.6.5           10.2.6.6           UH              2        0    tun0
      
      

      and my pfbox has

      IPv4 
      Destination Gateway Flags Refs Use Mtu Netif Expire 
      
      default 198.206.134.1 UGS 0 3883508 1500 em0   
      8.8.8.8 198.206.134.1 UGHS 0 14502 1500 em0   
      10.0.0.0/8 10.3.0.2 UGS 0 5952 1500 ovpns2   
      10.2.0.0/16 link#2 U 0 9352529 1500 em1   
      10.2.0.1 link#2 UHS 0 0 16384 lo0   
      10.2.6.0/29 10.2.6.2 UGS 0 1362 1500 ovpns1   
      10.2.6.1 link#8 UHS 0 0 16384 lo0   
      10.2.6.2 link#8 UH 0 0 1500 ovpns1   
      10.3.0.1 link#30 UHS 0 0 16384 lo0   
      10.3.0.2 link#30 UH 0 0 1500 ovpns2   
      68.56.40.15 198.206.134.1 UGHS 0 7320231 1500 em0   
      127.0.0.1 link#6 UH 0 99076 16384 lo0   
      198.206.134.0/24 link#1 U 0 1465612 1500 em0   
      198.206.134.59 link#1 UHS 0 0 16384 lo0 
      
      

      on the firewall on pfsense i have a allow any>any rule for openvpn.

      EDIT:
      heres my trace route from my computer

      Traceroute has started…
      
      traceroute to 10.2.0.1 (10.2.0.1), 64 hops max, 72 byte packets
       1  * * *
       2  * * *
       3  * * *
       4  * * *
       5  * * *
       6  * * *
       7  * * *
       8  * * *
       9  * * *
      10  * * *
      11  * * *
      12  * * 10.2.0.1 (10.2.0.1)  1100.417 ms
      
      

      im not sure what to do :(

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        You have a strange VPN setup.

        VPN1: 10.2.6.0/29
        VPN2: 10.0.0.0/8
        ?????

        VPN1 is part of VPN2!
        Why is VPN2 as large? I can't believe that your hardware can manage as many connections.
        Why is VPN1 as small? By default the server allocates a /30 net for each client.

        You should clean up this at first.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.