允许主机10.1.0.3到80端口的IPv4的TCP流量,并转发到65530端口上
firewall-cmd --zone=public --add-rich-rule 'rule family=ipv4 source address=10.1.0.3 forward-port port=80 protocol=tcp to-port=65530'
Linux公社的RSS地址:https://www.linuxidc.com/rssFeed.aspx
允许主机10.1.0.3到80端口的IPv4的TCP流量,并转发到65530端口上
firewall-cmd --zone=public --add-rich-rule 'rule family=ipv4 source address=10.1.0.3 forward-port port=80 protocol=tcp to-port=65530'
Linux公社的RSS地址:https://www.linuxidc.com/rssFeed.aspx
内容版权声明:除非注明,否则皆为本站原创文章。