Mailinglist Archive: opensuse-security (375 mails)

< Previous Next >
Re: [suse-security] SuSEfirewall2-custom rules don't work
  • From: Mathias Homann <admin@xxxxxxxxxx>
  • Date: Thu, 26 Sep 2002 14:28:58 +0200
  • Message-id: <200209261428.58658.admin@xxxxxxxxxx>
Am Donnerstag, 26. September 2002 14:16 schrieb Andreas Meier:
> Hi all -
>
> 1)
> 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 192.168.0.4,but the
> firewall don't allow.
> 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
> 192.168.0.4 iptables -A PREROUTING -t nat -p tcp --dport 4662 -i eth1 -j
> DNAT --to 192.168.0.4 iptables -A PREROUTING -t nat -p udp --sport 4665 -i
> eth1 -j DNAT --to 192.168.0.4
>
> Any ideas anybody?


run the donkey client on the firewall itself ;)

bye,
MH

< Previous Next >
References