Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 2000 12:14:02 +0100
From:      "Rink Springer" <rink@springer.cx>
To:        "Frederik Meerwaldt" <frederik@freddym.org>, <freebsd-hackers@freebsd.org>
Subject:   Re: natd bug
Message-ID:  <000901c05c50$f9a568c0$020010ac@aurum>
References:  <Pine.BSF.4.21.0011302021590.20212-100000@server.wes.mee.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

What are your firewall settings? Most likely, it's denying natd packets to
pass, you need a special rule for that, like:

# ipfw add divert natd all from any to any via isp0

That'll do the trick.

--Rink

----- Original Message -----
From: "Frederik Meerwaldt" <frederik@freddym.org>
To: <freebsd-hackers@freebsd.org>
Sent: Thursday, November 30, 2000 8:25 PM
Subject: natd bug


> Hi there!
>
> I was just looking why my natd doesnt work, when I discovered the
> following bug (?):
>
> I compiled my kernel with IPDIVERT IPFIREWALL and
> IPFIREWALL_DEFAULT_TO_ACCEPT and I set up only one rule:
> ipfw add divert natd all from any to any via isp0
> Then I started natd (at boot time):
> natd -unregistered_only -dynamic -n isp0
> But when a package arrives (doesn't matter from localhost or another
> host), natd gives out a kernel message:
>
> Nov 30 15:03:06 server natd[195]: failed to write packet back (Permission
> denied)
>
> What does that mean? I started natd from my rc.local, so it runs as root
> and it should have all permissions.
>
> Thanks in advance!
> Best Regards,
> Freddy
>
> --
> Geek Code 3.1: GCS s+: a--- C+++ UBOU+++ P-- E--- W++ N w--- V++ PGP- t?
5? tv
>
> =====================================================================
> Frederik Meerwaldt  ICQ: 83045387  Homepage: http://www.freddym.org
>  Bavaria/Germany              OpenVMS and Unix Howtos and much more
>    FreeBSD, NetBSD, OpenBSD, Tru64, OpenVMS, Ultrix, BeOS, Linux
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
>



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c05c50$f9a568c0$020010ac>