ipf + ipfw + divert = no go

Chris Knipe savage at savage.za.org
Tue May 24 03:57:49 PDT 2005


Hi,

Quick question...

dmesg:
IP Filter: v3.4.35 initialized.  Default = pass all, Logging = enabled
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 1024 packets/entry by default


shell:
bash-2.05b# ipfw add 50 fwd 192.168.0.237,3306 tcp from any to x.x.56.178 dst-port 3306
ipfw: getsockopt(IP_FW_ADD): Operation not permitted
bash-2.05b# whoami
root
bash-2.05b#

What gives?????  FreeBSD 5.4-STABLE

--
Chris.



More information about the freebsd-questions mailing list