centos7 firewalld添加l2tp请求转发

firewall-cmd –permanent –direct –add-rule ipv4 filter INPUT 0 -p gre -j ACCEPT
firewall-cmd –permanent –direct –add-rule ipv4 filter POSTROUTING 0 -t nat -o eth0 -j MASQUERADE
firewall-cmd –reload

发表评论

电子邮件地址不会被公开。 必填项已用*标注