John Do wrote:

Hi guys

I'm having trouble with IPFW I need to allow user
initiated traffic IN but I can't

Basically in iptables for Linux I would have used
something like
-A INPUT -p tcp -m tcp --state ESTABLISHED,RELATED -j
ACCEPT


Can someone help me discover what the equivalent
syntax in IPFW would be?

I have tried to use "allow tcp from any to any
established in" but it doesn't work

"allow tcp from any to any established"

...as another poster said, however, this will allow data traffic not associated with legitimate connections in, too. If you want use stateful rules in IPFW, something like:

check-state
allow ip from me to any setup keep-state

Take a look at /etc/rc.firewall for more detailed rules...

--
-Chuck

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to