Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: Improve code formatting #257

Merged
merged 1 commit into from
Sep 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,26 @@ By default it sets up a firewall that drops every connection, except
outbound ICMP, DNS, NTP, HTTP, and HTTPS, and inbound ICMP and SSH
traffic:

include nftables
```puppet
include nftables
```

This can be overridden using parameters, for example, this allows all
outbound traffic:

class { 'nftables':
out_all => true,
}
```puppet
class { 'nftables':
out_all => true,
}
```

There are also pre-built rules for specific services, for example this
will allow a web server to serve traffic over HTTPS:

include nftables
include nftables::rules::https
```puppet
include nftables
include nftables::rules::https
```

Note that the module conflicts with the `firewalld` system and will
stop it in Puppet runs.
Expand Down
Loading