Date: Thu, 03 Jul 2003 15:36:35 +0200 From: jonas linden <tomysterious@yahoo.se> To: freebsd-net@freebsd.org Subject: Re: ipfw+natd/divert port mapping problem Message-ID: <3F043162.9625A63@yahoo.se> References: <20030702113857.47036.qmail@web13601.mail.yahoo.com> <20030702181442.GA4179@pit.databus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the input. I still have the same problem but ... I've now found that I can divert the traffic to any ip nr on my LAN but the web servers ip nr. I've tampered around with the fw rules and it's still the same thing. I've looked for that ip nr in all the files and found nothing. I have really simple fw rules and natd is started with /sbin/natd -l -s -m -log_facility A_FACILITY -a OUTER_NIC_IP_NR -redirect_port tcp INNER_SERVER_IP_NR:80 80 I can reach the inner server with ssh and the routing table looks fine. What could be wrong? Thanks /Jonas Linden Barney Wolff wrote: > On Wed, Jul 02, 2003 at 01:38:57PM +0200, jonas linden wrote: > > I've set up a new firewall using freebsd 4.8. I'm > > using ipfw with natd to do port mapping. Everything > > worked fine while being on my test network. When I > > moved the firewall to the real place I changed the > > outer NICs IP nr. When I did this the port mapping > > stopped working. > > I'd put "via OUTER_INTERFACE" on the divert statement, and check routing, > forwarding enabled. > > -- > Barney Wolff http://www.databus.com/bwresume.pdf > I'm available by contract or FT, in the NYC metro area or via the 'Net. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F043162.9625A63>