Home
Sign Up
Sign In
Distributions
›
Ubuntu
›
Fedora
›
CentOS
中文资源站
›
网易开源镜像站
V2EX
›
Linux
请求一个关于 firewall-cmd 的问题
houzi999
·
Jan 26, 2021
· 2088 views
This topic created in 2136 days ago, the information mentioned may be changed or developed.
服务器 a 有多个 ip[192.168.2.1,192.168.2.2,192.168.2.3],需要将 192.168.2.1 的所有端口转发到 192.168.2.1:80,192.168.2.2 的所有端口转发到 192.168.2.2:443,192.168.2.3 的所有端口转发到 192.168.2.3:8080,firewall-cmd 需要怎么配置呢
192.168.2.1
192.168.2.2
192.168.2.3
端口
1 replies
•
2021-01-27 11:36:21 +08:00
liuxu
Jan 27, 2021
1
example:
https://unix.stackexchange.com/questions/177096/firewall-cmd-forward-rules-for-interface-with-multiple-ips
--add-forward-port 文档:
https://firewalld.org/documentation/man-pages/firewall-cmd.html
rich rule 文档:
https://firewalld.org/documentation/man-pages/firewalld.richlanguage.html
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
912 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 24ms ·
UTC 20:28
·
PVG 04:28
·
LAX 12:28
·
JFK 15:28
♥ Do have faith in what you're doing.
❯