Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Redirect outgoing traffic to squid

    Scheduled Pinned Locked Moved Firewalling
    1 Posts 1 Posters 820 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.
    • U Offline
      uncletall
      last edited by

      I want to by-pass a ip block and only want to use squid for this specific IP.

      What I tried is to add this rule to the /tmp/rules.debug and reload it but it doesn't work.

      rdr on em1 proto tcp from any to 123.123.123.123 port 80 -> 127.0.0.1 port 3128
      

      This is based on the rule that squid added when I configured it as a transparent proxy, that was:

      rdr on em1 proto tcp from any to !(em1) port 80 -> 127.0.0.1 port 3128
      

      I have been searching for a few hours now, any help will be welcome.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy