ipfw, natd and a server on a second WAN address

Frank Leonhardt frank2 at fjl.co.uk
Tue Apr 28 08:40:03 UTC 2015


On 27/04/2015 23:07, Frank Leonhardt wrote:
> On 27/04/2015 21:02, Frank Leonhardt wrote:
>> I hope someone will *know* how to do this. I can guess, but if I 
>> guess wrong there'll be consequences...
>
> I've just looked at the *latest* man page, and there's a section on 
> MULTIPLE INSTANCES that wasn't there before (it turns out it was added 
> in release 8.0). This might be my answer, except that the -instance 
> option was added at the same time, and the router is on 7.x  :-(
>
> It does say that before -instance was added, the way to do this was 
> running more than one natd, which I suspected anyway.
>

There's also a natd option called "redirect_address" that's very simple 
and seems to do what I need just fine. For some reason I couldn't find 
it written up so took a punt, and for once :-) it does what you hope it 
will.




More information about the freebsd-questions mailing list