Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 18:04:05 -0500
From:      "alexus" <ml@db.nexgen.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   ipnat wont work (ioctl(SIOCCNATL): Operation not permitted)
Message-ID:  <000901c18361$5b74c450$0d00a8c0@alexus>

next in thread | raw e-mail | index | archive | help
could someone help me to figure out why my ipnat won't work?

thank you in advance

here is some info that might help

su-2.05# kldstat -v | grep "IP Filter"
                64 IP Filter: v3.4.20
su-2.05# cat /etc/ipnat.rules 
map fxp0 192.168.0.0/24 -> 0/32
su-2.05# ipnat -C -f /etc/ipnat.rules 
ioctl(SIOCCNATL): Operation not permitted
5:ioctl(SIOCADNAT): Operation not permitted
su-2.05# ifconfig 
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 66.92.98.145 netmask 0xffffff00 broadcast 66.92.98.255
        ether 00:60:94:a5:cb:44 
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.9 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:a0:cc:21:04:42 
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 
su-2.05# 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c18361$5b74c450$0d00a8c0>