ftp Redirect problems using RDR
From: Nicolás de Bari Embríz G. R. (nbari_at_unixmexico.com)
Date: 02/24/04
- Previous message: Julian Elischer: "Re: ng_netflow: testers are welcome"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 23 Feb 2004 18:46:07 -0600 (CST) To: freebsd-net@freebsd.org
Hi all.
I am having some problems redirecting a ftp using rrd, i am using ipfilter
and ipnat
my ipnat.rules on Server 1 file has some thing like:
map fxp0 192.168.50.1/24 -> 148.243.246.2/32 portmap tcp/udp auto
map fxp0 192.168.50.1/24 -> 148.243.246.2/32
rdr fxp0 148.243.246.2/32 port 21 -> 192.168.60.1/32 port 21024
My net is something like:
server 1 server 2
148.243.246.2 200.50.59.30
--------- ---------------------------
| FreBSD | <----IPSEC tunnel---> | FTP (pureftp port 11021) |
--------- ---------------------------
192.168.50.1 192.168.60.1
| |
| |
----- -----
| NAT | | NAT |
----- -----
| |
192.168.50.0/24 192.168.60.0/24
I want to redirect ftp connections on server 1 (port 21) to server 2 (port
11021) so when a user, ftp to 148.243.246.2 he gets redirected to server
200.50.59.30, but using the IPSEC tunnel.
ftp 148.243.246.2 port 21 ----> redirect to 192.168.60.1 port 11021
right now the IPSEC tunnel works fine i can ping an see machines from
192.168.50.0/24 to 192.168.60.0/24
Any idea on how could i fix this ?
both servers are using FreeBSD 4.9-STABLE
-- nbari@unixmexico.com key ID 1EF56FDC _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Julian Elischer: "Re: ng_netflow: testers are welcome"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|