This shows you the differences between two versions of the page.
сервис_ftp_proxy [2009/06/22 15:22] val |
сервис_ftp_proxy [2013/05/22 13:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Сервис FTP Proxy ====== | ||
- | <code> | ||
- | [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 192.168.X.1 | ||
- | 97c97 | ||
- | < # LogFile /usr/local/lib/frox/frox-log | ||
- | --- | ||
- | > LogFile /val/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 | ||
- | </code> | ||
- | |||
- | Работает в пассивном режиме. |