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

    Host using specific gateway

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 1 Posters 676 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.
    • G
      goodspeed_11
      last edited by

      Hi at all,

      I'm using Pfsense with squid and a Multi-WAN configuration.
      As we know, Squid not support multi-Wan.

      So, I found a custom settings to add for make it work :
      acl loadbalance random 0.5;
      tcp_outgoing_address 192.168.2.91 loadbalance;
      tcp_outgoing_address 192.168.1.92;

      BUT, I would use a specific gateway for specific IP adress.
      Can you help me to write an ACL to make that ?

      1 Reply Last reply Reply Quote 0
      • G
        goodspeed_11
        last edited by

        oh sorry, I think that I found answer to my question

        acl HOST1 src 192.168.0.114/32
        acl HOST2 src 192.168.0.115/32

        tcp_outgoing_address 192.168.2.91 HOST1
        tcp_outgoing_address 192.168.2.91 HOST2

        :)

        BUT is it possible to specific this just for one port ?
        Thanks

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