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

    Routing from one Virtual IP to OpenVPN

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 631 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.
    • M
      markfrancis905
      last edited by

      Hello,

      I've setup a VPN connection to a 3rd party VPN provider. What I would like to do is have some hosts on my network be sent to a different default gateway (controlled by static DHCP entries) and be routed across my OpenVPN connection.

      As mentioned, i have successfully created a VPN connection, but currently it routes all LAN traffic across it. Ideally, I want a firewall rule that says anything going to my virtual IP as the default gateway needs to be routed across the virtual interface I have assigned to OpenVPN. Unfortunately it seems I can only create rules with a static source IP.

      Can what I'm asking be achieved?

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