frox作为反向代理?

我有一个“frox”设置为我的一台服务器上的ftp代理,但是我需要把这个系统的所有stream量转发到另一个ftp服务器。 我知道透明转发,但我似乎无法得到它的工作,也没有find很好的文档。 我的一个要求是只input一个用户名,而不input目标服务器,例如ftpuser而不是[email protected]

这里是我当前的conf文件的副本:

Port 2121 BindToDevice eth0 ResolvLoadHack wontresolve.doesntexist.abc User frox Group frox WorkingDir /var/cache/frox DontChroot Yes LogLevel 20 LogFile /var/log/frox.log PidFile /var/cache/frox/frox.pid BounceDefend yes CacheModule local CacheSize 400 CacheAll no # Set to yes to cache non anonymous ftp downloads MaxForks 60 MaxForksPerHost 4 ACL Allow * - * 

谢谢

你需要使用来自http://www.nagilum.org/frox/的rp补丁。
然后你会得到两个新的configuration选项:

 # Hardwire the NTP to a destination server # this allows frox to act as a reverse proxy # #NTPProxyDest ftp.example.com:21 # Change the default greeting when running in NTP mode # #NTPGreeting "Welcome to ftp.example.com" 

这应该做你想要的..