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

    can't reach remote lan

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 480 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.
    • D
      dariovernelli
      last edited by

      Hi, I have this kind of configuration:
      openvpn on pfsense
      server mode: peer to peer (ssl/tls)
      protocol: udp
      device mode: tun
      interface:was
      port:1194
      ....... (crypto config...)
      ipv4 tunnel: 10.0.8.0/29
      Local Ipv4:172.30.198.0/24
      Remote Ipv4: 192.168.8.0/24
      Dynamic Ip: checked
      Topology: subnet
      Gateway creation: Ipv4 Only

      In System --> Routing
      I have the gateway on inteface OpenVpn with IP 10.0.8.2
      I have the route in table:
      destination 192.168.8.0/24 ------ GW 10.0.8.2

      TAB OpenVpn Ipv4 allow anything/anywhere and the TAB for Interface with IP 172.30.198.0 allow anything/anywhere

      On the other side I have a Gl.Inet router with internal lan: 192.168.8.1/24
      The VPN in connected, but problem: I can't reach the remote lan 192.168.8.0/24.
      I can connect to 10.0.8.2 and open the webpage of the router but not the webpage with ip 192.168.8.1 (the lan IP of router)
      From web page of Gl.Inet I can ping the local lan 172.30.198.0....but I can't ping the remote machine 192.168.8.103.....

      Where could the problem be ? In firewall NAT ? Firewall rules seems to be ok...

      Thanks a lot
      Dario

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

        @dariovernelli said in can't reach remote lan:

        server mode: peer to peer (ssl/tls)
        ipv4 tunnel: 10.0.8.0/29

        Use a /30 tunnel network for a peer-to-peer vpn.

        @dariovernelli said in can't reach remote lan:

        In System --> Routing
        I have the gateway on inteface OpenVpn with IP 10.0.8.2
        I have the route in table:
        destination 192.168.8.0/24 ------ GW 10.0.8.2

        The routing is done by OpenVPN! So don't set static routes for remote destinations!

        Are both, server and client, the default gateway in their respective LAN?

        D 1 Reply Last reply Reply Quote 0
        • D
          dariovernelli @viragomann
          last edited by

          @viragomann

          Hi, I will try, thanks

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