Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2007 20:48:34 -0500
From:      Jonathan Horne <freebsd@dfwlp.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: pf redirect question
Message-ID:  <200709252048.34245.freebsd@dfwlp.com>
In-Reply-To: <200709260022.12432.fbsd.questions@rachie.is-a-geek.net>
References:  <200709250946.58855.freebsd@dfwlp.com> <200709260022.12432.fbsd.questions@rachie.is-a-geek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 25 September 2007 17:22:12 Mel wrote:
> On Tuesday 25 September 2007 16:46:58 Jonathan Horne wrote:
> > i have a server at my office i need to decomission, only problem, there
> > are a handful of client that are still talking to it.
> >
> > i was wondering if it feasable to down the server, take its IP and stick
> > it on our FreeBSD server, and then use pf with rdr statements to redirect
> > any traffic from stragglers to the service on the other new server?
> >
> > i was trying to to proof it with a line like this in my pf.conf on my
> > laptop:
> >
> > rdr on $ext_if proto tcp from any to $ext_if port 80 -> 10.22.192.131
> > port 8080
> >
> > just to see if i could get an http request to my laptop to redirect over
> > to the 8080 on the other ip, but so far nothing.
> >
> > a) is what im trying to do... tcpifically possible?
>
> Yes, but a network layout would help. Also, why not put the old IP on the
> new machine?

because the new machine is on a different subnet, across a vpn link.

what other info would you need, that you might be able to help me with an 
example?

thanks,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
freebsd@dfwlp.com



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