Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lionel Broes
ppp-multitunnel
Commits
e3255376
Commit
e3255376
authored
May 21, 2015
by
Lionel Broes
Browse files
Added ppp-multitunnel startup script, added systemd startup .service
parent
0f2b23b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
ppp-multitunnel.service
0 → 100644
View file @
e3255376
[Unit]
Description
=
Start ppp-multitunnel
After
=
network.target auditd.service
[Service]
ExecStart
=
/root/start-ppp-multitunnel.sh
# ExecReload=/bin/kill -HUP $MAINPID
# KillMode=process
# Restart=on-failure
[Install]
WantedBy
=
multi-user.target
start-ppp-multitunnel.sh
0 → 100644
View file @
e3255376
#!/bin/bash
# Script to start ppp-multitunnel
# SysV startup /etc/rc3.d/S99local
# sh /root/start-ppp-multitunnel.sh &
# Systemd /etc/systemd/system
# ppp-multitunnel.service
#
/root/ppp-multitunnel
\
--adaptive-compression
\
--daemon
\
--local-ppp-unit
=
1
\
# Local server PPP Interface
--local-ppp-ip
=
192.168.0.1
\
# Local server PPP Interface IP
--ssh-privkey
=
/root/.ssh/server.pvtkey
\
# Private key location and name
--ssh-ignore-host-key
\
--server-uses-sudo
\
--server-ppp-unit
=
100
\
# Remote server PPP Interface
--server-ppp-ip
=
192.168.0.254
\
# Remote server PPP Interface IP
--server
=
vpnuser@mycompany
\
# VPN to Remote ADSL 1 IP
--server
=
vpnuser@mycompany1
\
# VPN to Remote ADSL 2 IP
--server
=
vpnuser@mycompany2
\
# VPN to Remote ADSL 3 IP
--server
=
vpnuser@mycompany3
\
# VPN to Remote ADSL 4 IP
--server
=
vpnuser@mycompany4
# VPN to Remote ADSL 5 IP
Write
Preview
Supports
Markdown
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