User Tools

Site Tools


сервис_ftp_proxy

This is an old revision of the document!


Сервис FTP Proxy

[gate:~] # cd /usr/ports/ftp/frox/

[gate:ports/ftp/frox] # make config

...
 PF [X]
...

[gate:ports/ftp/frox] # make install clean

[gate:~] # cp /usr/local/share/examples/frox/frox.conf /usr/local/etc/

[gate:~] # rcsdiff /usr/local/etc/frox.conf
22c22
< Listen 192.168.2.1
---
> Listen 172.16.1.50
96,97c96,97
< # LogLevel 15
< # LogFile /usr/local/lib/frox/frox-log
---
> LogLevel 25
> LogFile /var/log/frox-log
186,187c186,187
< # CacheModule http
< # HTTPProxy 127.0.0.1:3128
---
> CacheModule http
> HTTPProxy 127.0.0.1:3128

[gate:~] # cat /etc/pf.conf
...
rdr proto tcp from <int_net> to !<int_net> port 21 -> 172.16.1.50 port 2121
...

[gate:~] # rcsdiff /usr/local/etc/squid/squid.conf
665a666
> http_access allow localhost

В winXP для active ftp может потребоваться отключить firewall

сервис_ftp_proxy.1245055587.txt.gz · Last modified: 2013/05/22 13:50 (external edit)