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

    Transparent firewall rule redirect question.

    Scheduled Pinned Locked Moved Firewalling
    1 Posts 1 Posters 1.7k 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.
    • T Offline
      trinli
      last edited by

      This is somewhat of a continuation from another post I made earlier.  But, I'm trying to figure it from another angle.
      Original post: http://forum.pfsense.org/index.php/topic,20890.0.html

      I have pfSense working as a transparent firewall, but I would like to add a web proxy to it.  So, since the squid proxy doesn't return anything as soon as I make it transparent, I figured I'd see if I could create the same rules it does and just redirect the traffic manually.  Here's the redirect rules it creates (em0=LAN):

      rdr on em0 inet proto tcp from any to ! (em0) port = http -> 127.0.0.1 port 80
      pass in quick on em0 proto tcp from any to ! (em0) port = http flags S/SA keep state
      pass in quick on em0 proto tcp from any to ! (em0) port = 3128 flags S/SA keep state

      So, how would I create this in the rules myself and test if it's the redirect that's the problem or the proxy itself?

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