[root@mail root]# ftp 223.*.*.* 7001
Connected to 223.*.*.*.
220 Serv-U FTP Server v5.2 for WinSock ready...
500 'AUTH': command not understood.
500 'AUTH': command not understood.
KERBEROS_V4 rejected as an authentication type
Name (223.*.*.*:root): user
331 User name okay, need password.
Password:
230 User logged in, proceed.
Remote system type is UNIX.
Using binary mode to transfer files.
在公司的局域网中我成功的实现7001端口的转发
A机器:192.168.0.22 windows 2000 pre
B机器:192.168.0.39 Redhat Linux 9.0
C机器:192.168.0.1 windows server 2003 ServU 5.1提供21端口的ftp服务
在B机器上做了/etc/xinetd.d/afs3-callback文件后就可以实现:
在A机器的IE中输入ftp://192.168.0.39:7001访问到C机器ServU提供的ftp服务。
所以说,xinetd进程可以完成ftp服务的转发,完全没有问题。