Last active
August 30, 2016 07:38
-
-
Save naitwo2/301ad480a29a3c0683e2c90c1cae75f4 to your computer and use it in GitHub Desktop.
Firewalld_TCP_6514
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat <<EOF> /etc/firewalld/services/syslog_tcp_ssl.xml | |
<?xml version="1.0" encoding="utf-8"?> | |
<service> | |
<short>SYSLOG_TCP_SSL</short> | |
<description>SYSLOG protocol</description> | |
<port protocol="tcp" port="6514"/> | |
</service> | |
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
firewall-cmd --reload > /dev/null | |
firewall-cmd --permanent --zone=public --add-service=syslog_tcp_ssl > /dev/null | |
firewall-cmd --reload > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment