• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 Jan 5, 2013, 4:42 PM Jan 4, 2013, 11:08 PM

    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 Jan 4, 2013, 11:36 PM

      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 Jan 5, 2013, 4:41 PM

        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
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received