Hello
Samuel Bächler wrote:
Dear All
I have 2 Computers behind a Firewall (currently D-Link DFL-200). Consider
one of them having IP-address 192.168.1.10 and the other having
192.168.1.11.
On both computers there is a ftp-server running. I want connect to the
first
by `foous...@192.168.1.10:21', to the second by
`foous...@192.168.1.11:2121'.
After fiddling around for some time I am wondering if my idea can be
implemented using a D-Link DFL-200 Firewall.
Did any of you configure successfully a Firewall the following way:
- If request is on port 21 connect to ftp-server with IP-address
192.168.1.10
- If request is on port 2121 connect to ftp-server with IP-address
192.168.1.11
What you want is port forwarding:
Below is an example for on old OpenWRT box (port 22 being ssh)
IPT=/usr/sbin/iptables
#(...)
$IPT -t nat -A PREROUTING -p tcp --source xx.xx.xx.xx --dport 22 -j DNAT --to
192.168.0.11:22
#(...)
hth,
Jerome
If yes, whats the name of it and is there a sound howto about it?
Looking forward to your inputs.
Regards
Sam
--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org