Date: Thu, 2 Aug 2007 16:06:51 -0700 From: "Rudy Setiawan" <rudal999@gmail.com> To: freebsd-ipfw@freebsd.org Subject: redirect traffic based on destination port to another interface Message-ID: <8b24e4de0708021606h5bbee266xb3a4814962d26643@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi,
I am trying to do a traffic redirection based on destination port to
another interface/gateway.
Currently, I have a freebsd box that does simple NAT and an Internet connection.
I am planning to install another internet connection and use the same
box to do some traffic redirection.
INTERNET1 -------- freebsd box ------- INTERNET2
|
|
Local Area Network
LAN = 192.168.10.0/24 with interface em0
INTERNET1-GW = x.x.x.1 with em1
INTERNET2-GW = y.y.y.1 with rl0
My goal is to redirect any ssh traffic to INTERNET2-GW and I assume
that if it can be redirected through INTERNET2-GW then the packets
return will go through INTERNET2-GW also.
Is it possible to do that way with ipfw or natd?
Thank you
Regards,
Rudy
--
+++++++++
http://foodblog.rudal.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8b24e4de0708021606h5bbee266xb3a4814962d26643>
