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

    Route all traffic from host x to IPSEC tunnel

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 1 Posters 1.6k 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
      madas
      last edited by

      Hello,

      I'm trying to configure a scenario where all traffic from a particular host (or interface on the firewall) accesses the internet through an IPSEC tunnel to another site.

      My setup: Single WAN connection, IPSEC site-site tunnel, and I have two lans (LAN1, LAN2).  LAN1 traffic should go out the WAN as usual.  LAN2 traffic should be routed over the IPSEC tunnel to another site if their packets are bound for the internet.

      I tried adding a static route on the LAN2 port which said

      Interface: OPT1 (LAN2)
      Destination Network: sample-internet-host-ip/32
      Gateway: Internet Router at the other end of the IPSEC tunnel (same router that controls the IPSEC tunnel)

      Unfortunately this doesn't seem to work for the sample-internet-host

      Any thoughts on how this might be possible? some other trickery?

      Thanks

      M

      1 Reply Last reply Reply Quote 0
      • M
        madas
        last edited by

        Any thoughts?

        no internal way in pfSense to just force traffic from one interface to another?

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