Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2005 19:35:27 +0100
From:      Christoph Mathys <cmathys@bluewin.ch>
To:        freebsd-hackers@freebsd.org
Subject:   Re: ipfw+nat
Message-ID:  <20051228193527.11bc4a28@fx>
In-Reply-To: <001301c60aff$c5c83b50$0201a8c0@oxy>
References:  <000f01c60ad9$f7732fa0$0201a8c0@oxy> <001301c60aff$c5c83b50$0201a8c0@oxy>

next in thread | previous in thread | raw e-mail | index | archive | help
"OxY" <oxy@field.hu> wrote:

> how can i make it to redirect packages from x.x.x.x/32 port 223 to
> another public ip on
> the internet?
> if i use this:
> rdr em0 x.x.x.x/32 port 223 -> public.ip.on.the.internet port 80 tcp
> it hangs for a while, then operation timeout...
> thanks!

If public.ip.on.the.internet is reachable via em0, then have a look at
this URL: http://www.phildev.net/ipf/IPFprob.html#prob8

Christoph


-- 
The bigger they are, the harder they hit.



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