Subject: Re: How can I make use of ipnat?
To: Oliver Egginger <oliver.egginger@dvz.fh-giessen.de>
From: Gabor Nyeki <bigmac@vim.hu>
List: netbsd-users
Date: 01/31/2004 14:08:43
On Sat, 31 Jan 2004, Gabor Nyeki wrote:

bigmac> oliver> I would like to configure a port forwarding from port 465/tcp to port
bigmac> oliver> 25/tcp. I tempted to use ipnat for this, but if I call ipnat I receive
bigmac> oliver> every time:
bigmac> oliver> ioctl(SIOCGNATS): Operation not supported by device
bigmac> oliver> (For example if I simply call ipnat -l)
bigmac> oliver>
bigmac> oliver> I have these lines (among others) in my kernel conf:
bigmac> oliver> pseudo-device	bpfilter	8	# Berkeley packet filter
bigmac> oliver> pseudo-device	ipfilter		# IP filter (firewall) and NAT
bigmac> oliver>
bigmac>
bigmac>   Did you compile with the kernel-options ``GATEWAY'' and ``PFIL_HOOKS''?
bigmac>

  Or... did you enable ipf through ``ipf -E''? ;]

---
NetBSD: ``divide et impera''