Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2008 16:48:36 +0200
From:      "n j" <nino80@gmail.com>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   Can't get in-kernel IPFW NAT (libalias) to work
Message-ID:  <92bcbda50810050748x753b0555vc6344a0a6c0ff1ca@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello all,

I resolved my earlier problem ("ipfw: getsockopt(IP_FW_ADD): Invalid
argument" when trying "ipfw add nat") by upgrading to 7.1-BETA which
includes ipfw_nat as a kernel module; however, it still doesn't seem
to work.

When I'm directly ping'ing another box, I can see packets arriving at
the destination, so the forwarding part (routes) works fine. However,
when I add an ipfw rule to send these packets to the nat instance, the
packets disappear instead of arriving nat'ted to the same destination.

Did anyone have any success in getting the in-kernel (libalias) ipfw
nat to work? I'd be grateful for any pointers.

Thanks,
-- 
Nino



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92bcbda50810050748x753b0555vc6344a0a6c0ff1ca>