From owner-freebsd-stable Mon Dec 13 2: 6:54 1999 Delivered-To: freebsd-stable@freebsd.org Received: from fep9.mail.ozemail.net (fep9.mail.ozemail.net [203.2.192.103]) by hub.freebsd.org (Postfix) with ESMTP id 59A0B15083 for ; Mon, 13 Dec 1999 02:06:50 -0800 (PST) (envelope-from death@southcom.com.au) Received: from windows (1Cust155.tnt1.hba1.da.uu.net [210.84.240.155]) by fep9.mail.ozemail.net (8.9.0/8.6.12) with ESMTP id VAA02090; Mon, 13 Dec 1999 21:06:27 +1100 (EST) Message-Id: <4.2.1.19991213205944.00c55ac0@mail.southcom.com.au> X-Sender: death@mail.southcom.com.au X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.1 Date: Mon, 13 Dec 1999 21:05:50 +1100 To: Ben WIlliams From: death Subject: Re: pidentd Cc: freebsd-stable@FreeBSD.ORG In-Reply-To: <7101.991211@Home.Com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 02:25 AM 11/12/1999 -0500, Ben WIlliams wrote: >freebsd-stable, Saturday, December 11, 1999 > > I am trying to get pidentd (or any other ident daemon) to work for >masqueraded hosts on a private LAN connected to the internet via a >3.2-RELEASE box. I've managed to successfully compile and install >pidentd which works as a standard ident daemon but I am having >difficulty figuring out how to make it work for masq'd hosts. Any >ideas? My solution was to either: a) NAT all identd stuff to windows using: ipfw add 30000 divert 666 tcp from any 113 to any via ppp0 ipfw add 30000 divert 666 tcp from any to any 113 via ppp0 natd -port 666 -redirect_address 192.168.1.2 0.0.0.0 -interface ppp0 -dynamic 666 being just a port i picked because the natd port is being used by another nat. port 113 being ident. ppp0 being the interface that i'm on the net with. and 192.168.1.2 being the address of my windows box. this assumes that you don't need identd on your freebsd box, and that you only have 1 machine you want identd running on. b) Use a socks5 server. This is the best option - but i couldn't get ident working in socks5 though. Eventually got it compiled in by fixing some broken code, but then it still did nothing. Cheers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message