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

    Route traffic received on IP alias through OpenVPN tunnel

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 346 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.
    • L
      linkexplorer
      last edited by

      Greetings,

      New pfsense user here.

      I have set up an OpenVPN client on a pfsense box and can successfully route traffic to specific destinations through the VPN while letting all other traffic pass through (i.e. not going out via the VPN).

      However, I would like to assign an additional IP to the pfsense box and route all traffic received on this IP (from LAN clients using this IP as a gateway) through the VPN.

      I have assigned a virtual IP (IP alias) to the LAN interface.

      Any pointers on how to set up routing to achieve the above? For simplicity, I prefer to keep all clients on the same subnet.

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