Re[2]: ipfw / ppp NAT

2005-02-06 Thread Hexren
CK Ok wait, CK let me explain a bit more, because it seems the source-address is not my CK problem. y.y - x.x - x.1 CK y.y is a IP from the Internet CK x.x is the FreeBSD gateway, and CK x.1 is a client on a internal network CK I run NAT (via ipfw / ppp) on x.x. The packet comes in from

Re: Re[2]: ipfw / ppp NAT

2005-02-06 Thread Chris Knipe
given that tun0 is the interface that connects x.x to the world (y.y) then what you have now would be: ipfw add divert natd all from any to any via tun0 from what I understand what you want you should probably add somethin like: ipfw add divert natd all from any to any via rl0 rl0 being the