Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
salt-state
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
Model registry
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
FFFFM
salt-state
Commits
b24d0d51
Commit
b24d0d51
authored
6 years ago
by
skorpy
Browse files
Options
Downloads
Patches
Plain Diff
wireguard/babel: add wireguard interface to babel on the fly
parent
5dea7068
Branches
Branches containing commit
No related tags found
1 merge request
!397
Resolve "babeld: add wireguard on creation to babeld"
Pipeline
#20575
passed
6 years ago
Stage: highstate
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wireguard/files/babel-interfaces-wireguard.j2
+1
-0
1 addition, 0 deletions
wireguard/files/babel-interfaces-wireguard.j2
with
1 addition
and
0 deletions
wireguard/files/babel-interfaces-wireguard.j2
+
1
−
0
View file @
b24d0d51
...
...
@@ -6,6 +6,7 @@ iface {{ iface_prefix }}_{{ peer.name }} inet6 static
pre-up ip link add dev $IFACE type wireguard
pre-up wg setconf $IFACE /etc/wg/$IFACE.conf
address fe80::1/64
post-up echo "interface $IFACE type tunnel link-quality true update-interval 300" | nc ::1 33123
post-down ip link del dev $IFACE
{% endfor %}
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