commit 54cbc174a735401a69e3ef0a7a522721d6560f85 parent e9d0512d963dbdab52ce6bc4deae6ba16f05f2aa Author: pyratebeard <root@pyratebeard.net> Date: Mon, 8 Apr 2019 12:38:29 +0100 open port on specific ip: link to serverfault answer Diffstat:
M | technology/networking/firewall-cmd.md | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/technology/networking/firewall-cmd.md b/technology/networking/firewall-cmd.md @@ -8,3 +8,8 @@ firewall-cmd --permanent --remove-port=<port_num>/<protocol> firewall-cmd --permanent --add-port=22/tcp firewall-cmd --permanent --remove-port=22/tcp ``` + +## open port on specific ip +[serverfault answer][] + +[serverfault answer]: https://serverfault.com/questions/684602/how-to-open-port-for-a-specific-ip-address-with-firewall-cmd-on-centos#684603