Subject: Re: How can I make use of ipnat?
To: Oliver Egginger <oliver.egginger@dvz.fh-giessen.de>
From: None <netbsd@wolfnode.de>
List: netbsd-users
Date: 01/31/2004 13:07:15
I also have ipnat, but for pure port forwarding, I recommend "portfwd". It
is not in pkgsrc as far as I know, but it's really easy to use and can
even forward to other hosts if desired.

So for me it forwards local port ... hm ... 6222 to remote 6220 or so, i
can run a vncview across NAT with this nice tool...

Search in the net, it's easy to find.

Florian



On Sat, 31 Jan 2004, Oliver Egginger wrote:

> Hello,
>
> I would like to configure a port forwarding from port 465/tcp to port
> 25/tcp. I tempted to use ipnat for this, but if I call ipnat I receive
> every time:
> ioctl(SIOCGNATS): Operation not supported by device
> (For example if I simply call ipnat -l)
>
> I have these lines (among others) in my kernel conf:
> pseudo-device	bpfilter	8	# Berkeley packet filter
> pseudo-device	ipfilter		# IP filter (firewall) and NAT
>
> How can I make use of ipnat? Every hint would be appreciated.
>
> regards
> oliver
>
>