共计 162 个字符,预计需要花费 1 分钟才能阅读完成。
默认的ubuntu系统,无法通过 ip:port访问已安装服务。
开放所有端口
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
清理Iptable规则
apt-get purge netfilter-persistent
reboot
正文完
共计 162 个字符,预计需要花费 1 分钟才能阅读完成。
默认的ubuntu系统,无法通过 ip:port访问已安装服务。
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
apt-get purge netfilter-persistent
reboot