ftp服务器防火墙只想保留固定端口,其它都封掉,可以实现吗?
今天刚试了bsd7.0ipfw防火墙,rc.conf:
firewall _enable="YES"
firewall _script="/etc/rc.firewall"
firewall _type="/etc/ipfw.rules"
firewall _quiet="NO"
firewall_logging_enable="YES"
log_in_vain="YES"
tcp_drop_synfin="YES"
tcp_restrict_rst="YES"
icmp_drop_redirect="YES"
防火墙:
ipfw add allow tcp from any 1002 to any out
ipfw add allow tcp from any to any 1002 in
用flashxp登陆每次列表的端口都不一样,附flashxp提示信息
是不是防火墙还需做别的设置?我只想留有用的端口别的都不想开!