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

    OpenVPN client on only one interface

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 284 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.
    • N
      NPsgpsv6zt
      last edited by

      Hello

      How can i configure client vpn to work on only one interface? I want to connect one PC to VPN without routing all traffic through VPN.

      Best regards

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @NPsgpsv6zt
        last edited by

        @npsgpsv6zt simple policy route, setup your vpn client on pfsense. But don't pull routes from the vpn service, then just policy route whatever device or network you want to use the vpn connection.

        https://docs.netgate.com/pfsense/en/latest/multiwan/policy-route.html

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

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