Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2003 12:20:19 +0200
From:      Alexander Motin <mav@alkar.net>
To:        al vanyushenkov <vanyushenkov@nettmail.de>
Cc:        freebsd-ipfw@freebsd.org
Subject:   Re: gray network and ipfw2
Message-ID:  <3FF15163.8060809@alkar.net>
In-Reply-To: <20031230054214.8C30044B31@sumykhimprom.org.ua>
References:  <20031230054214.8C30044B31@sumykhimprom.org.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
al vanyushenkov wrote:
> hi all
> i have freebsd 4.8 installed and i use ipfw2 with the rules

> #!/bin/sh
> ipfw='/sbin/ipfw'
> $ipfw -f flush
> 
> $ipfw add divert natd all from any to any via ppp0
> $ipfw add allow log all from any to any
^^^^^ this rule matches packets on all innterfaces. Internal too. On 
internal interface you really have grey addresses.

> 
> my local ethernet card has 192.168.133.7 ip address
> and my ppp0 interface has 217.15.x.x ip address.
> 
> when i tried to connect to 195.54.192.44:21 from my local box i got the lines
> 
> Accept TCP 172.16.202.106:4802 195.54.192.44:21 out via ppp0
> Accept TCP 195.54.192.44:21 172.16.202.106:4802 in via ppp0
> and so on.
> 
> as i know 172.16.0.0 are gray addresses and i haven't got any 172.16.x.x networks
> in my environment.
> Could anybody tell me what 172.16.202.106:4802 does in my log file.


-- 
Alexander Motin mav@alkar.net
ISP "Alkar-Teleport"



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