Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
lilypad
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leap
Container Platform
lilypad
Commits
2ec45d24
Unverified
Commit
2ec45d24
authored
Jun 3, 2021
by
micah
Browse files
Options
Downloads
Patches
Plain Diff
openvpn config: fix proto in template
parent
f5e186f3
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!31
Openvpn v6 support
Pipeline
#59933
passed
Jun 3, 2021
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/roles/openvpn/templates/udp.conf.j2
+1
-2
1 addition, 2 deletions
config/roles/openvpn/templates/udp.conf.j2
with
1 addition
and
2 deletions
config/roles/openvpn/templates/udp.conf.j2
+
1
−
2
View file @
2ec45d24
...
@@ -12,7 +12,6 @@ duplicate-cn
...
@@ -12,7 +12,6 @@ duplicate-cn
keepalive 10 30
keepalive 10 30
mute-replay-warnings
mute-replay-warnings
mute 5
mute 5
proto udp6
push "redirect-gateway def1 ipv6"
push "redirect-gateway def1 ipv6"
push "dhcp-option DNS {{ openvpn_network | ipaddr('1') | ipaddr('address') }}"
push "dhcp-option DNS {{ openvpn_network | ipaddr('1') | ipaddr('address') }}"
{% if openvpn_network6 is defined and openvpn_network6|length %}
{% if openvpn_network6 is defined and openvpn_network6|length %}
...
@@ -21,7 +20,7 @@ server-ipv6 {{ openvpn_network6 }}
...
@@ -21,7 +20,7 @@ server-ipv6 {{ openvpn_network6 }}
push "route-ipv6 2000::/3"
push "route-ipv6 2000::/3"
push "dhcp-option DNS {{ openvpn_network6 }}"
push "dhcp-option DNS {{ openvpn_network6 }}"
{% else %}
{% else %}
proto
tc
p
proto
ud
p
push "ifconfig-ipv6 fd15:53b6:dead::2/64 fd15:53b6:dead::1"
push "ifconfig-ipv6 fd15:53b6:dead::2/64 fd15:53b6:dead::1"
block-ipv6
block-ipv6
{% endif %}
{% 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