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

    PFSense push LAN routes as OpenVPN Client

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 4 Posters 2.2k 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.
    • T
      therustyspooner
      last edited by

      Hi all,

      So heres the setup. I have a windows server 2012 R2 box running as a hosted VPS (Vultr) which is running OpenVPN Server (windows). I then have a PFSense router in my LAN acting as the router. I have got the PFSense box set up as a openvpn client connecting to the openvpn server (windows vps) and this works fine. Also pushes internet traffic.

      The problem is, my windows VPS needs to also be able to talk to the devices on the LAN behind the PFSense box so basically PFSense push a route as a client. How can this be done?

      IP addressing is as follows:
      PFSense LAN: 10.16.82.0/24
      OpenVPN: 10.8.0.0/24
      Windows VPS: Public IP with nothing inbetween.

      Hope this is enough info.

      Cheers.

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        You can't push routes from client to server with OpenVPN. Just define them accordingly on the server.

        1 Reply Last reply Reply Quote 0
        • U
          unguzov
          last edited by

          You need to build site-to-site connection or you can try something like my solution with iroute:
          https://forum.pfsense.org/index.php?topic=108627.0

          1 Reply Last reply Reply Quote 0
          • M
            marvosa
            last edited by

            Much like cmb already mentioned, why wouldn't you just define your routes on the server side?

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