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

Pushing Pfsense routes into OpenVPN configuration dynamically

Scheduled Pinned Locked Moved OpenVPN
2 Posts 2 Posters 684 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.
  • A
    anthonysomerset
    last edited by Jan 9, 2018, 7:00 AM

    I have a very simple Single WAN /30 setup and a /24 routed to my WAN IP at home

    my pfSense box aggregates a bunch of VPN connections (mix OpenVPN and IPSEC)  so that i just dial one OpenVPN connection into the pfSense from outside and if i divert ALL traffic to the pfSense VPN things will just work nicely

    In the case of the OpenVPN clients from the firewall the routes get pushed to the pfSense firewall during connect, there are no manual routes setup and some of the clients are relatively dynamic with updating VPN routes.

    How can i dynamically push the learned routes from the VPN clients (or preferably the pfSense routing table perhaps) to the VPN server config so that I don't have to totally redirect my gateway and send all traffic to the pfSense box but keep general internet traffic local from wherever i am dialling in from. If my end was another router i could run OSPF but this isn't feasible here

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Jan 9, 2018, 6:03 PM

      To dynamically route like that you need some kind of routing protocol on both ends, such as OSPF or BGP.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received