Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2001 00:38:59 +0000
From:      Gunther Schadow <>
To:        Roman <>
Cc:        freebsd-ipfw@FreeBSD.ORG
Subject:   Re: Simple problem?
Message-ID:  <>
References:  <000801c0e397$694b8e20$>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> Roman wrote:
> My network:
> 1. private
> 2. private
> 3. public 111.222.333.178/
> All request from 192. are going to public through masq on natd. It is OK.
> All hosts in 172. are out of masq.
> I'd like to make only one host in 192. ie. to tcp connect from
> only one host from 172. ie.
> I think it is simple but i don't know how can I do it?

Roman, this is a clear RTFM issue. You can do it with IPFW, I did
things like that. It's a rule that starts with

$ipfw divert nat from $this to $that tcp port $suchandsuch

etc. I don't remember the syntax right, so RTFM ipfw(8). Behold,
this does not work with ipnat all so easily. IPFilter's ipnat
has far less powerful matching rules. It may work, but needs some


Gunther Schadow, M.D., Ph.D.          
Medical Information Scientist      Regenstrief Institute for Health Care
Adjunct Assistent Professor        Indiana University School of Medicine

To Unsubscribe: send mail to
with "unsubscribe freebsd-ipfw" in the body of the message

Want to link to this message? Use this URL: <>