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

    How to create gateway on VPN

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    3 Posts 2 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.
    • S
      sh_man
      last edited by

      I have a dual WAN firewall with openVPN setup used for a remote office at our events that has been running on 1.2.2 for a couple of years.

      I am looking at using 2.0 for this but have hit an issue with the gateways and routes.

      On 1.2.2 I could create a route to an internal subnet (ie 192.168.110.0/24) that went via the gateway address on the network that the openVPN exposed to the firewall (192.168.103.0/24). The new routes page only allows gateways that have been entered to be used. When trying to enter a gateway, ie 192.168.103.1, I can not enter it as it complains that it is not reachable via the network interface selected ie LAN, which is quite correct, but it does not give me the openVPN interface as an option.

      Any ideas how I can get these routes back or am I stuck with using 1.2.2 for a while longer.

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

        The best way on all versions is to not enter them as static routes, add them as custom options "route 10.2.3.0 255.255.255.0;route 10.5.4.0 255.255.255.0" etc. in the OpenVPN config.

        That said, you can assign the tun interface to an OPT and then select the proper interface for the routes.

        1 Reply Last reply Reply Quote 0
        • S
          sh_man
          last edited by

          Cheers for that. Should have remembered the VPN options and I really must catch up with the pfSense developments. It works so well I forget its there and I don't keep up with changes.

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