Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 May 2001 09:20:36 +1000
From:      Tony Landells <ahl@austclear.com.au>
To:        kevin <kevinm@cco.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: routing troubles 
Message-ID:  <200104302320.JAA03188@tungsten.austclear.com.au>
In-Reply-To: Message from kevin <kevinm@cco.net>  of "Sun, 29 Apr 2001 17:59:38 MST." <3AECB8FA.7F7E1CF1@cco.net> 

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

kevinm@cco.net said:
> I did use natd  and  ipfw.  From the Windows box (192.168.1.101) I can
> ping the inside ip of the FreeBSD box (192.168.1.100) and the outside
> ip of the FreeBSD box (209.102.16.38) but I can't ping the router
> (209.102.16.33) or any other ip address beyond the

> router. 

Well, if you can ping the outside address of the FreeBSD box, I'm
assuming that the Windows box has the correct default gateway set
(as in, the internal address of the FreeBSD box)?

But if you can't get any further, I'm betting on a natd/ipfw problem.

For a start, run natd (from the command prompt) with the "-v" option
which will show you all the packets it processes.  If you don't get
any output, you're not giving the packets to natd for translation.
If you do get output but it's not changing anything, then natd is
misconfigured.

The other thing worth doing is putting a "log" option on every ipfw
rule that denies packets.  That way, if you're doing something you
want to allow and you're getting log messages you know you have ipfw
misconfigured.  Once you have things working properly you can always
remove the "log" option to reduce the disk space required for logging.

Cheers,
Tony
-- 
Tony Landells					<ahl@austclear.com.au>
Senior Network Engineer				Ph:  +61 3 9677 9319
Australian Clearing Services Pty Ltd		Fax: +61 3 9677 9355
Level 4, Rialto North Tower
525 Collins Street
Melbourne VIC 3000
Australia



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?200104302320.JAA03188>