clasic 发表于 2004-10-16 13:52:25
我内网一台FTP服务器:192.168.0.253现在用ROS发布这台FTP,但是我要设置只有允许的电脑才可以连接我的FTP服务器,比如,现在我允许以下几个IP地址可以访问我的FTP61.153.28.38218.3.221.2361.253.2.223在ROS上面要怎么加规则?能不能详细说明一下,那样比较容易懂!liu00901 发表于 2004-10-16 16:26:22
inputadd src-address=61.153.28.38/32 dst-address=192.168.0.253/32:21protocol=tcp action=accept comment="38 to ftp" disabled=noadd src-address=218.3.221.23/32 dst-address=192.168.0.253/32:21protocol=tcp action=accept comment="23 to ftp" disabled=noadd src-address=61.253.2.223/32 dst-address=192.168.0.253/32:21protocol=tcp action=accept comment="223 to ftp" disabled=noadd src-address=0.0.0.0/0 dst-address=192.168.0.253/32:21protocol=tcp action=drop comment="drop other to ftp" disabled=noclasic 发表于 2004-10-17 19:49:38
看懂了,谢谢了!clasic 发表于 2004-10-19 21:17:33
dst-address这里的地址为什么是192.168.0.253,不应该是我的外网地址吗?
页:
[1]