Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nounous
firewall
Commits
02152c60
Commit
02152c60
authored
Jan 24, 2021
by
Benjamin Graillot
Committed by
root
Jan 24, 2021
Browse files
Add FedeRez subnet
parent
4f74e373
Changes
2
Show whitespace changes
Inline
Side-by-side
firewall.json
View file @
02152c60
...
...
@@ -13,8 +13,9 @@
},
"NAT"
:
{
"srv-nat"
:
"185.230.79.64/26"
,
"adh-nat"
:
"185.230.77.0/24"
"srv-nat"
:
"185.230.79.64/27"
,
"adh-nat"
:
"185.230.77.0/24"
,
"federez"
:
"185.230.77.128/27"
},
"nat_interface"
:
"enp1s3"
,
...
...
templates/nftables.conf.j2
View file @
02152c60
...
...
@@ -45,6 +45,7 @@ table inet filter {
ip saddr 185.230.79.0/26 accept
ip saddr 172.16.0.0/16 accept
ip saddr 100.64.0.0/16 accept
ip saddr 100.65.0.0/16 accept
ip daddr 224.0.0.18 accept
ip6 saddr fd00::/4 accept
ip6 saddr 2a0c:700::/32 accept
...
...
@@ -65,6 +66,7 @@ table inet filter {
ip6 saddr 2a0c:700::/32 accept
ip saddr 185.230.78.0/24 accept
ip saddr 100.64.0.0/16 accept
ip saddr 100.65.0.0/16 accept
# Ouvetures de ports des serveurs du CRANS
{% for rule in ports_openings %} {{ rule }}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment