|
|
|
|
|
|
|
|
e-3.0.10 # vi conf_file.c 增加一行: #include <errno.h> # vi ez-ipupdate.c 注释掉下面几行(4515行): //else // { // fprintf(stderr, "no update needed at this time\n"); // } # ./configure # make # make install 设置拨号后自动运行: # vi /etc/ppp/ppp.linkup MYADDR: ! sh -c "/sbin/ifconfig pflog0 up" ! sh -c "/sbin/pflogd" ! sh -c "/sbin/pfctl -e -F all -f /etc/pf.conf" !bg /usr/local/bin/ez-ipupdate -i tun0 -h nero.3322.org -S qdns -w wildcard -u user:pwd 解决通过PF防火墙用主动模式连接外网FTP服务器的问题: # vi /etc/pf.conf rdr on $int_if proto tcp from any to any port 21 -> 127.0.0.1 port 8021 # vi /etc/inetd.conf 127.0.0.1:8021 stream tcp nowait root /usr/libexec/ftp-proxy f页码:[1] [2] [3] [4] [5] [6] [7] [8] 第7页、共8页 |
|
|
|
|
设为首页 | 加入收藏 | 广告服务 | 友情链接 | 版权申明
Copyriht 2007 - 2008 © 科普之友 All right reserved |