From owner-freebsd-questions Sun Apr 1 4:28: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from secure.child.net.au (gw.child.net.au [139.130.214.37]) by hub.freebsd.org (Postfix) with ESMTP id 711F237B71B for ; Sun, 1 Apr 2001 04:27:54 -0700 (PDT) (envelope-from child@child.net.au) Received: from child.child.net.au (safe.child.net.au [203.44.100.2]) by secure.child.net.au (8.9.3/8.9.3) with ESMTP id UAA07897; Mon, 2 Apr 2001 20:31:46 +1000 (EST) (envelope-from child@child.net.au) Message-Id: <5.0.2.1.0.20010401213320.01b20480@mx.child.net.au> X-Sender: child@mx.child.net.au X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Sun, 01 Apr 2001 21:33:52 +1000 To: questions@freebsd.org From: Child Subject: natd/libalias problem Cc: Jopp Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear All I encountered a problem I cannot solve with natd it has to do with port redirection Setup is at follows 4.2 REL with 2 NIC's one is the int net the other is a crossover to a cable modem (dyn IP) the int net is on 192.168 IP's so natd is translating as required one of the clients on the int net wishs to use netmeeting 3 (UGH I cant stand it) so i setup a config file that looked like this #NM redirect_port tcp 192.168.111.1:1024-65535 1024-65535 redirect_port udp 192.168.111.1:1024-65535 1024-65535 I know I know its a huge ugly awful memory hungry hack but when i did this with user PPP (alias port tcp etc) it WORKED (this was on another system mind you still 4.2rel) I currently pass the -s and -m switches to natd i also tried -t with no luck I have overcome this problem in the past by doing a alias port in user PPP for all the required ports (1024-65535 tcp/udp) setting up a UDP VPN etc.... but I cant use user ppp here as its an ether interface out to the world not a dial-up i'm trying to avoid installing "phonepatch" if I can I ran tcpdump and natd -v and aliasing appeared to be working correctly with no port number changes so i dont know where I am going wrong please help Thanks Jer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message