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

    Specific gateway to specific hosts

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 430 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.
    • D Offline
      douglas filipe
      last edited by

      Hi All!
      I install new wan link and I need specific hosts using this to navigate, this is configuration of my environment

      LAN: 192.168.0.0/22

      WAN1: 172.16.0.1

      WANGW1: 172.16.0.254

      WANGW2: 172.16.0.253

      And configure one gateway group too…

      I configure firewall rule: https://thumb.ibb.co/eBnU7a/fw.png

      What I doing wrong ?

      1 Reply Last reply Reply Quote 0
      • C Offline
        costasppc
        last edited by

        Hi,

        For starters,  you should have your WANs in separate networks, not the same..
        Then, for policy routing, you need to create IP Aliases with the hosts you want to use the specific WANs and set their gateway accordingly, in a LAN rule..

        Put that rule on top of the other LAN rules.

        Best regards

        Kostas

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