On Wed, Feb 19, 2003 at 04:05:23PM +0100, pepillo wrote:
>Hello, I'm installing a bridge-firewall an all is OK, but whe I deny all the 
>'FORWARD' traffic this rule deny all the traffic included the 'ACCEPT' rules. Mi 
>Kernel is 2.4.18
>and i installed itables 1.2.5-3. My script is:
>
>iptables -F FORWARD
>iptables -F INPUT
>iptables -F OUTPUT
>
>iptables -A FORWARD -p icmp -s 89.0.0.0/24 -d 89.0.0.55/32 -j ACCEPT
>
>iptables -A FORWARD -j DROP
>
>
>
>If I quit the las line it's all OK, if I deny 'ping' it's OK, but if I put the last 
>line all ping are deny.

try this...

iptables -A FORWARD -p icmp -s 89.0.0.0/24 -d 89.0.0.55/32 -j ACCEPT
iptables -A FORWARD -p icmp -d 89.0.0.0/24 -s 89.0.0.55/32 -j ACCEPT
iptables -A FORWARD -j DROP

to allow the responce through.

// George

-- 
GEORGE GEORGALIS, System Admin/Architect    cell: 347-451-8229 
Security Services, Web, Mail,            mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.       http://www.galis.org/george 

_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to