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

    IPSec way out via WAN / WAN2 - Gateway ?

    Scheduled Pinned Locked Moved IPsec
    2 Posts 2 Posters 1.5k 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.
    • F Offline
      FBI01
      last edited by

      Runnung pfSense 1.2.2 - is it possible to set the way out für IPSec Tunnels ?
      In other words: if you have 2 WAN Ports and "IPSec Tunnel 1" should take way "WAN1" out, the other WAN2 - where can I configure this gateway routing ?

      Greetings
      FBI01

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG Offline
        GruensFroeschli
        last edited by

        Create a static route for the endpoint of the tunnel with as gateway the WAN you want to use.

        example:
        WAN1: 10.0.1.2/24 Gateway 10.0.1.1/24
        WAN2: 10.0.2.2/24 Gateway 10.0.2.1/24

        Endpoint1: 192.168.1.1
        Endpoint2: 192.168.2.1

        For traffic to endpoint1 on WAN1 you dont have to do anything special.
        For traffic to endpoint2 on WAN2 you have to create a static route for: 192.168.2.1/32 to 10.0.2.1

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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