Subject: How can I make use of ipnat?
To: None <netbsd-users@netbsd.org>
From: Oliver Egginger <oliver.egginger@dvz.fh-giessen.de>
List: netbsd-users
Date: 01/31/2004 11:13:39
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