Commit e3255376 authored by Lionel Broes's avatar Lionel Broes

Added ppp-multitunnel startup script, added systemd startup .service

parent 0f2b23b3
[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
#!/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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment