This shows you the differences between two versions of the page.
сервис_ftp_proxy [2009/03/26 07:47] val |
сервис_ftp_proxy [2013/05/22 13:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Сервис FTP Proxy ====== | ||
- | <code> | ||
- | [gX:~] # cat /etc/inetd.conf | ||
- | ... | ||
- | ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy | ||
- | ... | ||
- | [gX:~] # /etc/rc.d/inetd reload | ||
- | |||
- | [gX:~] # cat /etc/pf.conf | ||
- | ... | ||
- | rdr proto tcp from $int_net to !<corp_nets> port 21 -> 127.0.0.1 port 8021 | ||
- | |||
- | [gX:~] # /etc/rc.d/pf reload | ||
- | </code> |