All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] filter policy drop and allow transparent proxy
@ 2006-12-28 18:21 William Bohannan
  2006-12-28 18:49 ` Jasbir Khehra
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: William Bohannan @ 2006-12-28 18:21 UTC (permalink / raw)
  To: lartc

Trying to use the policy drop rule with the bridged firewall, when I
removed the first line the transparent proxy works great?  It seems a
bit strange as from reading several articles on it I thought the
following occurs.  
1st line - if it doest match it gets dropped on the local filter input.
2nd line - redirects the traffic off the link layer into the network
layer ready for line 3.
3rd line - redirects the port 80 to 8080 and then goes to the local
process (squid) through the input filter
4th line - input filter accepts the traffic over riding the global
reject policy. 

iptables -P INPUT DROP
ebtables -t broute -A BROUTING -p IPv4 --ip-protocol 6
--ip-destination-port 80 -j redirect --redirect-target ACCEPT
iptables -t nat -A PREROUTING -i br0 -p tcp --dport 80 -j REDIRECT
--to-port 8080
iptables -A INPUT -p tcp --dport 80 -m physdev --physdev-in eth1
--physdev-out eth0 -j ACCEPT

Any help would be most welcome.

Kind Regards
William

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-12-29 13:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-28 18:21 [LARTC] filter policy drop and allow transparent proxy William Bohannan
2006-12-28 18:49 ` Jasbir Khehra
2006-12-28 19:24 ` William Bohannan
2006-12-29  8:52 ` Jasbir Khehra
2006-12-29 13:34 ` William Bohannan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.