Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 1997 23:04:02 +0000
From:      Brian Somers <brian@awfulhak.demon.co.uk>
To:        Chris Coleman <chris@mail.bb.cc.wa.us>
Cc:        hackers@freebsd.org
Subject:   Re: IPFILTER 
Message-ID:  <199701122304.XAA08535@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Sat, 11 Jan 1997 16:19:46 GMT." <Pine.BSF.3.91.970111161622.788A-100000@mail.bb.cc.wa.us> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Im setting up ipfilter to work on my system and I have it installed. 
> But i need help configuring the rules so that it will actually work.
> 
> 
> I have two cards in the FBSD box.  fxp0 and vx0
> fpx0 is 208.8.136.10
> vx0 is 10.16.14.1
> 
> i have a client on 10.16.14.100 and i want it to be translated to
> a 208.8.136.10 address so that it can go out.
> 
> how do i do this?
> 
> thanks
> 
> chris coleman

You need something like

    map tun0 10.16.14.0/24 -> 208.8.136.10

in /etc/natrules (say), then run 'ipnat /etc/natrules' or something like 
that... I got this stuff working, but ftp DATA commands never worked and it 
crashed the machine a few times.  Socks, cached and ppp -alias are all far 
superior !

-- 
Brian <brian@awfulhak.demon.co.uk>, <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk/>;
Don't _EVER_ lose your sense of humour....





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