Re: Some questions about in-kernel NAT

2017-03-08 Thread Andrea Venturoli
On 03/08/17 18:03, Freddie Cash wrote: It's listed in the EXAMPLES section of the ipfw(8) man page. ipfw nat show config​ <-- view config for all nat instances ipfw nat 123 show config <-- view config for nat 123 ipfw nat 111-999 show<-- view logs for nat 111-999 Oops!!! Been working

Re: Some questions about in-kernel NAT

2017-03-08 Thread Freddie Cash
On Wed, Mar 8, 2017 at 7:52 AM, Andrea Venturoli wrote: > Hello. > > I'm using "ipfw nat" on several 10.3 boxes, but I have some questions. > > Let's start with a simple one: how do I list configured NATs and their > details? > I know I can configure a NAT with "ipfw nat 1 config ...", but how do

Re: Some questions about in-kernel NAT

2017-03-08 Thread Ian Smith
On Wed, 8 Mar 2017 16:52:36 +0100, Andrea Venturoli wrote: Just on one point: > Second question: > _ if I issue "ipfw nat 2 config if re0", I'll see the output "ipfw nat 2 > config if re0"; > _ if I issue "ipfw nat 2 config ip 192.168.0.1", I'll see the output "ipfw > nat 2 config ip 192.168

Some questions about in-kernel NAT

2017-03-08 Thread Andrea Venturoli
Hello. I'm using "ipfw nat" on several 10.3 boxes, but I have some questions. Let's start with a simple one: how do I list configured NATs and their details? I know I can configure a NAT with "ipfw nat 1 config ...", but how do I show what I did? Second question: _ if I issue "ipfw nat 2