Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2002 13:47:13 +0100
From:      Andre Oppermann <oppermann@pipeline.ch>
To:        Nerijus Bendziunas <device@migla.ktu.lt>
Cc:        freebsd-net@freebsd.org
Subject:   Re: DNAT on freebsd
Message-ID:  <3DE761D1.F5F96F8C@pipeline.ch>
References:  <20021129095422.GA15876@migla.ktu.lt>

next in thread | previous in thread | raw e-mail | index | archive | help
Nerijus Bendziunas wrote:
> 
> Hi,
> i need to do something like DNAT in iptables on freebsd.
> I mean to rewrite packets which match some rule dst ip/port.
> ie: all smtp traffic (any 25) redirect to some ip 25. or if user tries
> to connect to www.yahoo.com:80 i rewrite dst and he realy connects to
> www.google.lt:80 or smth.

We have written one which can do that:

 http://diehard.n-r-g.com/stuff/freebsd/

-- 
Andre

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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