Date: Sun, 22 May 2005 16:27:27 +0200 From: Hexren <me@hexren.net> To: dave <dmehler26@woh.rr.com> Cc: freebsd-pf@freebsd.org Subject: Re: two questions: ssh and synproxy Message-ID: <1552697228.20050522162727@hexren.net> In-Reply-To: <001101c55de0$f6423a00$0200a8c0@satellite> References: <001101c55de0$f6423a00$0200a8c0@satellite>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hello,
> Running pf on a 5.3 box and all is working, almost. I have a requirement
> that if a connection is made from one host it will be directed to a
> different machine, all other connections go somewhere else. For example
> host1 makes an ssh connection and gets machine1, all other ssh connecting
> hosts get machine2. I've tried various rdr rules and pass rules, but all
> machines including host1 are getting machine2.
> Thanks.
> Dave.
---------------------------------------------
rdr pass on $ext_if proto tcp from $host1_ip to any port { 22 } ->
$machine1_ip
(all in one line ofcourse :)
should do the trick, imho. Can you show the things that you've tried
that didn't do it ?
Kind regards
Hexren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1552697228.20050522162727>
