Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2000 15:28:28 -0500
From:      "Doug Poland" <doug@polands.org>
To:        "Ivan S. Anisimov" <ivan@itp.ac.ru>
Cc:        <questions@freebsd.org>
Subject:   RE: please help get nat running
Message-ID:  <NDBBKMNOJKJGAEKJNLIAOEMJELAA.doug@polands.org>
In-Reply-To: <39E61168.79B9D367@itp.ac.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
I just solved (obviously with the help of others) a similar problem.
You're internal IP address 192.168.1.1 is an unregistered and won't
route without the right rules in ipfw.  (I was using 10.20.1.129). 

This was solved with the following ipfw command..

ipfw add 500 divert natd all from any to any via ed0

In your case, replace ed0 with tun0 

Check out http://www.freebsd-howto.com/HOWTO/NAT-HOWTO

Regards,
Doug 

> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG 
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Ivan S. Anisimov
> Sent: Thursday, October 12, 2000 14:31
> To: questions@freebsd.org
> Subject: please help get nat running
> 
> 
> Hello,
> 
> Could you PLEASE help me get my nat running?
> I've done everything just like the faqs say:
> configured the kernel with ipfirewall, ipfirewall_forward and
> ipdivert options, configured both interfaces
> (de0 is local network, 192.168.1.1, ppp0 is
> the dialout with real ip), configured
> firewall to allow all from any to any,
> told my windows box to use 192.168.1.1 as
> a gateway, enabled firewall and natd in rc.conf.
> Still I get "request timed out" from that stupid
> windows when I'm trying to ping anything except
> my freebsd machine.
> 
> Many thanks in advance,
> Sincerely
> Ivan Anisimov
> 
> 
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBKMNOJKJGAEKJNLIAOEMJELAA.doug>