Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 1998 13:46:30 -0500 (EST)
From:      "Nathan V. Patwardhan" <nvp@mediaone.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   pidentd and IP Masq
Message-ID:  <199809141846.NAA06526@mediaone.net>

next in thread | raw e-mail | index | archive | help

Hi everyone,

I've been quite pleased with FreeBSD's ipfw and natd; I've got a cable
modem and setup a LAN (a PC, a NeXTstation and my FreeBSD server).
The FreeBSD server's got two NICs (both 3C509b's); one NIC is
connected to the cable modem (uses wide-dhcp) and the other is
connected to a hub (from which the other machines are connected).

Here's a better description:

       Cable Modem
	    |
         10baseT (NIC #1)
	    |
	  SERVER
	    |
	 10baseT (NIC #2)
	    |
	   HUB
	  /   \
        NeXT   PC

As mentioned above, I've got natd/ipfw working correctly; I can telnet,
ftp and use the web from machines on the LAN out to the net.  BUT I
can't do anything which requires ident; IRC is one such example.
Basically, I've tried to redirect_port from 113 of my local IP
(192.168.0.3) to 113 of my real IP (server), but this isn't working.

redirect_port	tcp my.real.ip.here:113 192.168.0.3:113

I've also run natd in debug mode but it appears that the ident packets
aren't ever getting returned to the local machine when redirected to
the server's port.  (Footnote: I've thought of some evil, evil ways to
make this work but I'd prefer a more direct solution).

I'm running the latest port of pidentd.  I've read through the pidentd
docs and source, and (now that I think about it) it doesn't sound like
it can work with IP Masq'ed hosts.

OR, am I misdirecting my attention?  Should I be trying to redirect
irc ports instead?

Any suggestions?  Patches?  Just wondering and thanks!

-- 
Nate Patwardhan, System Administrator
O'Reilly and Associates
nvp@oreilly.com

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?199809141846.NAA06526>