Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Firewalld_TCP_6514
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
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
You can’t perform that action at this time.