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

    Squid -> howto redirect traffic to opt1 instead of wan?

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 2.2k 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.
    • A
      AndreR
      last edited by

      Hello,

      this is my first machine with pfsense (1.2.3), I got experience with IPCop, but the cop can't handle multiple WAN interfaces.
      I use the following setup

      -> WAN1 (SDSL 2MBit/s line with 5 IPs)
      LAN -> pfsense -|
                              -> OPT1 (ADSL 16 MBit line)

      I use the WAN1 interface for our exchange server exclusive and for all FTP/SSH connections from the LAN interface. All other traffic is routed to OPT1

      This works very well.

      Now I want to use the squid package, installed, configured as intransparent (at the beginning). When I use Firefox with proxy settings pointing to the squid all squid traffic is routet to WAN1.
      Why is pfsense routing this way?

      I attached the firewall LAN rules.

      IP information: pfsense = 192.168.2.198, exchange = 192.168.2.5, LAN= 192.168.2.0/24, WAN1 = 85.182.xx.xxx/29, OPT1 => ADSL Router with 192.168.1.1 giving 192.168.1.20 as DHCP to OPT1 interface

      pfsense_rules.jpg
      pfsense_rules.jpg_thumb

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