Mailinglist Archive: opensuse-security (375 mails)

< Previous Next >
SuSEfirewall2-custom rules don't work
  • From: Andreas Meier <a.meier.home@xxxxxxx>
  • Date: Thu, 26 Sep 2002 14:16:01 +0200
  • Message-id: <131290455.20020926141601@xxxxxxx>
Hi all -

I am running the Firewall2 on Suse 8.0 + Squid/2.4.STABLE6.
I wan't to allow the following ports open en forward to,but the firewall don't
So, whats wrong ?

cut from /etc/sysconfig/scripts/SuSEfirewall2-custom
iptables -A forblock -i eth1 -p tcp --dport 4661 -j ACCEPT
iptables -A forblock -i eth1 -p tcp --dport 4662 -j ACCEPT
iptables -A forblock -i eth1 -p udp --sport 4665 -j ACCEPT
iptables -A PREROUTING -t nat -p tcp --dport 4661 -i eth1 -j DNAT --to
iptables -A PREROUTING -t nat -p tcp --dport 4662 -i eth1 -j DNAT --to
iptables -A PREROUTING -t nat -p udp --sport 4665 -i eth1 -j DNAT --to

Any ideas anybody?


by the way....
where can i find the rules for iptables ???

many thanks
Andreas Meier

< Previous Next >
Follow Ups