Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re6stnet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
re6stnet
Commits
e3464a00
Commit
e3464a00
authored
Jul 17, 2012
by
Guillaume Bury
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed starting openvpn function for new script names
parent
410f51c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
openvpn-server-events
openvpn-server-events
+0
-0
openvpn.py
openvpn.py
+6
-6
No files found.
openvpn-
client-connect
→
openvpn-
server-events
View file @
e3464a00
File moved
openvpn.py
View file @
e3464a00
...
@@ -29,9 +29,9 @@ def server(ip, pipe_fd, *args, **kw):
...
@@ -29,9 +29,9 @@ def server(ip, pipe_fd, *args, **kw):
return
openvpn
(
return
openvpn
(
'--tls-server'
,
'--tls-server'
,
'--mode'
,
'server'
,
'--mode'
,
'server'
,
'--up'
,
'up-server %s/%u'
%
(
ip
,
len
(
utils
.
config
.
vifibnet
)),
'--up'
,
'
openvpn-
up-server %s/%u'
%
(
ip
,
len
(
utils
.
config
.
vifibnet
)),
'--client-connect'
,
'
client-connect
'
+
str
(
pipe_fd
),
'--client-connect'
,
'
openvpn-server-events
'
+
str
(
pipe_fd
),
'--client-disconnect'
,
'
client-connect
'
+
str
(
pipe_fd
),
'--client-disconnect'
,
'
openvpn-server-events
'
+
str
(
pipe_fd
),
'--dh'
,
utils
.
config
.
dh
,
'--dh'
,
utils
.
config
.
dh
,
'--max-clients'
,
str
(
utils
.
config
.
max_clients
),
'--max-clients'
,
str
(
utils
.
config
.
max_clients
),
*
args
,
**
kw
)
*
args
,
**
kw
)
...
@@ -41,10 +41,10 @@ def client(serverIp, pipe_fd, *args, **kw):
...
@@ -41,10 +41,10 @@ def client(serverIp, pipe_fd, *args, **kw):
'--nobind'
,
'--nobind'
,
'--client'
,
'--client'
,
'--remote'
,
serverIp
,
'--remote'
,
serverIp
,
'--up'
,
'up-client'
,
'--up'
,
'
openvpn-
up-client'
,
'--route-up'
,
'route-up '
+
str
(
pipe_fd
),
'--route-up'
,
'
openvpn-
route-up '
+
str
(
pipe_fd
),
*
args
,
**
kw
)
*
args
,
**
kw
)
def
startBabel
(
**
kw
):
def
startBabel
(
**
kw
):
args
=
[
'babeld'
,
args
=
[
'babeld'
,
'-C'
,
'redistribute local ip %s'
%
(
utils
.
config
.
internal_ip
),
'-C'
,
'redistribute local ip %s'
%
(
utils
.
config
.
internal_ip
),
...
...
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