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

    2 Wan, 2 network

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 732 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.
    • S
      Sylvaner
      last edited by

      Hello,

      My problem is probably a strange thing, but i don't have any choice and i must do that.

      I have 2 ISP :

      • WAN interface : 10.10.10.250 - GW 10.10.10.254
      • OPT1 interface : 11.11.11.250 - GW 11.11.11.254

      And 2 networks

      • LAN interface : 192.168.1.0/24
      • OPT2 interface : 172.168.1.0/24

      The LAN network must pass by OPT1 GW and the OPT2 network must pass by WAN GW. I can switch interface, but the 2 networks must use different gateway (WAN / LAN and OPT1 / OPT2 for example).

      I tried to set the route but i didn't find a way to do that

      Anyone have an idea or a start point to solve this problem ?

      Thanks

      Sorry if I maked mistakes in my sentences.

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

        Not sure what your trying to route?

        So on your lan interface rules set the gateway you want these clients to use.  On your opt2 (lan2) rules set specific gateway to use.

        You going to want to have a rule above these rules that call specific gateway to allow traffic between your lan and opt2 network - if you want to allow this traffic.

        Also your going to want to make sure your outbound nat is setup correctly.. So I assume these pfsense wan address are made up.. since one is rfc1918 space and the other is public space at 11.11.11, etc.  So are both public or is one actually 10.10.10 and you made up the other one that is public to hide it?

        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.