ipfilter

From: <bernhard(at)gtkx.de>
Date: Sat, 24 Nov 2012 10:31:19 +0100

Hallo Leute,

hab ein Problem mit meiner Firewall. (freebsd 8.2)

folgende Einstellungen sind gegeben das funktioniert einwandfrei was
ipfstat -ih bestätigt:

/etc/ipf.rules:
....
pass in quick on tun0 from any to any port=301
pass in quick on tun0 from any to any port=307
pass in quick on tun0 from any to any port=311
....
block in on tun0 all

/etc/ipnat.rules
...
rdr tun0 0.0.0.0/0 port 301 -> 192.168.3.1 port 22 tcp/udp
rdr tun0 0.0.0.0/0 port 307 -> 192.168.3.7 port 22 tcp/udp
rdr tun0 0.0.0.0/0 port 311 -> 192.168.3.11 port 22 tcp/udp
....

Jedoch, wenn die 3 ipnat Regeln aktiviert sind blockt ipfilter die ports
301,307,111

Was ist falsch, warum geht diese Kombination nicht?

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Fri 30 Nov 2012 - 14:01:13 CET

search this site