Skip site navigation (1)Skip section navigation (2)
Date:      08 Dec 2002 15:04:29 +0800
From:      Khairil Yusof <kaeru@pd.jaring.my>
To:        questions@FreeBSD.org
Subject:   ipfw2 and natd
Message-ID:  <1039331069.99425.7.camel@daemon>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Didn't get an answer for this. Is it because it's supposed to be asked
in freebsd-current?

I've found that natd with ipfw2 breaks my simple ipfw rules in which
state information is kept for new outgoing tcp packets:

with 0,1.. as example rule numbers.

0 divert natd all from any to any via tun0
1 allow tcp from any to any out xmit tun0 setup
2 allow tcp from any to any via tun0 established
3 allow icmp from any to any

0 is ok
1 is ok
3 is ok
but 2 doesn't work.

I read in the man, that natd might lose information that might cause
rule 2 to break. 

What's the proper way to do this with ipfw2?



-- 
Khairil Yusof <kaeru@pd.jaring.my>

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA98u79DAqnLW/+/X8RAuf4AKCoE6t5RMCOvRNcCNNLXA2zF3g0HQCg8Ooi
V2zVeqFzaEdWLNcoL5D9ymY=
=CC36
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1039331069.99425.7.camel>