由 X10er 在 11-06-2004 00:16 发表:
帮忙看看我的网络问题
系统装好了vsftpd,默认端口ip:192.168.1.2,在内网中已经可以正常使用,匿名用户和本地用户都可以登录并拥有相应的权限,现在我想对外开放,但是遇到了点问题:
我用的是adsl拨号上网,在猫上的配置是开了路由关闭了网桥,然后由猫拨号,内网就可以直接上网了,看了些资料说对外开放端口要用nat,所以在猫上试验了一下,用的是rdr,对外开了2100端口,映射为内部的21端口,但是无论如何就是不能用公网的ip进行登录。
大家帮帮忙。
另外谁能够给点关于nat的资料我也好学习一下。
由 Snoopy 在 11-06-2004 00:50 发表:
在modem管理选项里设置,影射21和20端口
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 dato 在 11-06-2004 05:00 发表:
可以看这里。
FTP站长必读
http://www.comexe.cn/helpsiteftpbase.php
http://www.chinaitlab.com/www/special/nat.asp
请网外的朋友测试,或者你可以挂上http代理,通过浏览器测试。
vsftpd的一些参数可能有遗漏
pasv_enable=YES
pasv_max_port
pasv_min_port
pasv_address
windows下设置serv-U的图示,20 21 和pasv的端口对外开放就OK了,我用的是ZXDSL 831

Webmasterworld -- the next person you help may just be y