EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
internet router role
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ansible-public
internet router role
Commits
312e783c
Commit
312e783c
authored
1 year ago
by
Karl Grube
Browse files
Options
Downloads
Patches
Plain Diff
nat support working
parent
33dfbfcb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/frr_conf.j2
+5
-0
5 additions, 0 deletions
templates/frr_conf.j2
with
5 additions
and
0 deletions
templates/frr_conf.j2
+
5
−
0
View file @
312e783c
...
...
@@ -68,6 +68,9 @@ router bgp {{bgp_asn}}
!
address-family ipv6 unicast
network ::/0
neighbor nat activate
neighbor nat prefix-list internet out
neighbor nat prefix-list none in
neighbor firewalls activate
neighbor firewalls prefix-list all out
neighbor firewalls prefix-list my-networks in
...
...
@@ -81,6 +84,7 @@ router bgp {{bgp_asn}}
{% endfor %}
{% endfor %}
!
ipv6 prefix-list none seq 10 deny any
{% if allow_default_ipv6 == True %}
ipv6 prefix-list internet seq 5 permit ::/0
{% endif %}
...
...
@@ -137,6 +141,7 @@ ipv6 prefix-list my-networks seq {{(loop.index|int)*10+10}} deny any
{% endif %}
{% endfor %}
!
ip prefix-list none seq 10 deny any
{% if allow_default_ipv4 == True %}
ip prefix-list internet seq 5 permit 0.0.0.0/0
{% endif %}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment