Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
powder-vpn
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
David Johnson
powder-vpn
Commits
e6f8b2da
Commit
e6f8b2da
authored
Aug 31, 2018
by
David Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor bugfixes.
parent
ff0fc2ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
bin/setup-vpn.sh
bin/setup-vpn.sh
+2
-3
No files found.
bin/setup-vpn.sh
View file @
e6f8b2da
...
...
@@ -150,6 +150,7 @@ EOF
#
# Generate the server-side config file(s).
#
mkdir
-p
/etc/openvpn/ccd
if
[
$VPNTYPE
=
$TOPO_SUBNET
-o
$VPNTYPE
=
$TOPO_NET30
]
;
then
cat
<<
EOF
> /etc/openvpn/server.conf
local
$con_conlink_IP
...
...
@@ -245,7 +246,7 @@ EOF
# XXX: do this in a script on server-side, somehow
i
=
8
while
[
!
-f
/sys/class/net/tun-
$aggprefix
-a
$i
-gt
0
]
;
then
while
[
!
-f
/sys/class/net/tun-
$aggprefix
-a
$i
-gt
0
]
;
do
i
=
`
expr
$i
- 1
`
sleep
1
done
...
...
@@ -258,8 +259,6 @@ EOF
exit
1
fi
mkdir
-p
/etc/openvpn/ccd
touch
$OURDIR
/vpn-server-done
fi
...
...
Write
Preview
Markdown
is supported
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