Skip to content

Instantly share code, notes, and snippets.

@dgdavid
Created January 22, 2019 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgdavid/eeb157908dc72791408ec7ef0e6f6120 to your computer and use it in GitHub Desktop.
Save dgdavid/eeb157908dc72791408ec7ef0e6f6120 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<!DOCTYPE profile>
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
<firewall>
<zones config:type="list">
<zone>
<name>example_zone</name>
<services config:type="list">
<service>ssh</service>
<service>http</service>
<service>https</service>
<service>vnc</service>
</services>
</zone>
<zone>
<name>home</name>
<services config:type="list">
<service>ssh</service>
</services>
<ports config:type="list">
<port>22/tcp</port>
<port>5353/udp</port>
</ports>
</zone>
</zones>
<default_zone>public</default_zone>
<log_denied_packets>off</log_denied_packets>
<enable_firewall config:type="boolean">true</enable_firewall>
<start_firewall config:type="boolean">true</start_firewall>
</firewall>
</profile>
@dgdavid
Copy link
Author

dgdavid commented Jul 16, 2019

⚠️ This gist was initially created to test changes introduced in yast/yast-firewall#119, following the steps given in https://gist.github.com/dgdavid/3bb1999ea63ebf60e28340b083ab8ba8 ⚠️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment