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

    [SOLVED]Puzzel with routing

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 1 Posters 1.4k 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.
    • P
      petermp
      last edited by

      I have two VPN boxes. I want the client to access some internet sites through server.

      1. OpenVPN SERVER
      Advanced options: redirect-gateway def1
      Remote gateway: 192.168.30.0/24

      2. OpenVPN client
      Advnaced Options:

      route 209.68.27.0  255.255.255.0;

      Tunnel works like charm I can ping from PFSENSE server box, PC behind pfsense client. I am also able  to ping openvpn interface of the server from a pc behind the client

      From the CLIENT Pfsense box I can ping 209.68.27.16 like charm, however from a PC behind the Pfsense client  is not possible to ping the site:

      –---------
      C:\Windows\System32>tracert 209.68.27.16

      Tracing route to ipchicken.com [209.68.27.16]
      over a maximum of 30 hops:

      1     3 ms     4 ms     2 ms  192.168.30.1
       2   131 ms   131 ms   134 ms  10.0.8.1
       3     *

      –------------------------

      I am routed correctly through VPN but the server for some reason does not route correctly the PCs from the client.

      Any idea what it can be ?

      Thanks,

      Peter

      1 Reply Last reply Reply Quote 0
      • P
        petermp
        last edited by

        Just to make it clearer:

        209.68.27.16 is ipchicken.com and I a try to access it from a PC behing the pfsense client openvpn.

        From the PFSENSE client itself, all works like charm, just not from the pcs behing it, but I think the problem is with the server openvpn, as teh client routes pcs correclty through the tunnel when they try to access ipchicken.com

        1 Reply Last reply Reply Quote 0
        • P
          petermp
          last edited by

          I solved it.

          Anyone running into this problem:

          On SERVEER PFSENSE you new to enable advanced routing(AON).
          On that screen once you activate you will see rules. Copy the rule for open vpn, and replace it wil the IP range of PCs behind the Pfsense  client.
          Unline DD-WRT, pfsense does not do NAT on OpenVPN which is great :-)

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