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

    Force one PC to use OpenVPN provider, but pass through other PCs on LAN?

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 828 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.
    • T
      tontoOz
      last edited by

      Is there a way to force ALL traffic for one or two computers on a LAN (e.g. say 192.168.1.24 and 192.168.1.29) to be routed through OpenVPN pfSense configured for a VPN provider e.g. StrongVPN, but for ALL traffic of the other devices on the LAN to passthrough pfSense without using the VPN?

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

        Yup, simple policy based routing… Just create a firewall rule using the IPs of your devices as source and send them out gateway to your vpn..

        Here I gave example.. of doing just that in this thread
        https://forum.pfsense.org/index.php?topic=104449.msg582455#msg582455

        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 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.