From owner-freebsd-questions Fri Jun 1 16:31:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cci.tol.itesm.mx (cci.tol.itesm.mx [132.254.97.16]) by hub.freebsd.org (Postfix) with SMTP id A16C037B422 for ; Fri, 1 Jun 2001 16:31:16 -0700 (PDT) (envelope-from madd@tecdigital.net) Received: (qmail 20886 invoked from network); 1 Jun 2001 23:30:10 -0000 Received: from unknown (HELO midgar) (madd@127.0.0.1) by 127.0.0.1 with SMTP; 1 Jun 2001 23:30:10 -0000 Message-ID: <006e01c0eaf2$f298cfa0$0a00a8c0@midgar> From: "Mario Doria" To: "Michael J. Turner" , "Richard Smith" Cc: References: <003001c0e9d3$17414a60$6404a8c0@daimon> <20010601223946.A524@gaia.home.rdls.net> <01fb01c0eaef$7345a000$6404a8c0@daimon> Subject: Re: Natd mapping Date: Fri, 1 Jun 2001 18:31:04 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I had the same problems with natd, the first time I tried over and over, untill it worked (I used this as a guide http://www.daemonnews.org/200103/firewall.html . But, then for some thing or other the machine was reinstalled, this time using IPFilter, and with ipnat setup was a breeze. ----- Original Message ----- From: "Michael J. Turner" To: "Richard Smith" Cc: Sent: Friday, June 01, 2001 6:06 PM Subject: Re: Natd mapping > Yes i have a custon kernel with it configured for natd. > natd works just fine, the mapping doesnt. > i have the correct firewall rules set to. Because if natd > wasnt working i wouldn't be able to send this email. > > > ----- Original Message ----- > From: "Richard Smith" > To: "Michael J. Turner" > Cc: > Sent: Friday, June 01, 2001 4:39 PM > Subject: Re: Natd mapping > > > > On Thu, May 31, 2001 at 08:10:38AM -0500, Michael J. Turner wrote: > > > > > > Hi I have been trying to figure this out forever. Some people have got > it > > > working but a friend and I cant get it at all. I have been trying to > figure out > > > how to map certain ports from one nic to the other via. if i want to VNC > > > to my windows machine it has to go through my server then to my windows > > > machine. A easy way to solve that would be to have static ip. > unfortunitly > > > I dont have one. Im trying to figure out how to map the ports from my > internet > > > nic to my lan on my bsd machine. So i could do things like host a game > or > > > VNC to my windows machine. I got this off some examples... > > > but i could put " natd sucks" in the natd.conf and it would'nt make a > diffrence. > > > if anyone could help me out i would greatly apperciate it. Thank you > > > > > > natd.conf > > > > > > redirect_port tcp 192.168.4.2:5800 5800 > > > redirect_port udp 192.168.4.2:5800 5800 > > > redirect_address 192.168.4.1 24.240.235.35 > > > log no > > > deny_incoming no > > > verbose no > > > unregistered_only no > > > interface ed1 > > > use_sockets yes > > > same_ports yes > > > dynamic yes > > > > > > redirect_port tcp 192.168.4.2:5802 5802 > > > redircet_port udp 192.168.4.2:5802 5802 > > > redirect_port tcp 192.168.4.2:5902 5902 > > > redirect_port udp 192.168.4.2:5902 5902 > > > > > > my rc.conf > > > > > > natd_enable="YES" > > > natd_interface="ed1" > > > natd_flags="-f /etc/natd.conf" > > > > > You don't indicate whether NAT is actually functioning at all. So do you > > have the necessary custom kernel and the firewall enabled in rc.conf? > > > > Rich. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message