On Friday August 14th. from 9 p.m. to 9:30 p.m., we will upgrade GitLab software and its cloud platform release. Service may not be available during this maintenance window. Please schedule your work accordingly.

Commit 15dab6ac authored by Alex Tayts's avatar Alex Tayts

updated readme with an example

parent 75380d84
# iptables
A wrapper module around firewall and firewall_multi modules from Forge. Technically should
be a profile, but since it is used a lot, made it a module.
be a profile, but since it is used a lot, made it a module. The module allows to define
iptables rules in hiera.
## Parameters
......@@ -16,3 +17,20 @@ be a profile, but since it is used a lot, made it a module.
* `ssh_defence_sec` - ssh defence time interval
* `ssh_defence_limit` - ssh defence hit count
## Examples
Allow ssh access from public VPN
```
iptables::rules:
ssh:
name: "200 ssh VPN"
chain: INPUT
source:
- '171.66.16.0/21'
- '171.66.24.0/21'
- '171.66.176.0/20'
proto: 'tcp'
dport: 22
action: 'accept'
```
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment