mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-02-12 19:31:54 +00:00
Track some untracked files
This commit is contained in:
parent
9da7d3e4aa
commit
f1c6047689
5 changed files with 73 additions and 0 deletions
10
dsvpn-server.service.in
Normal file
10
dsvpn-server.service.in
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Dead Simple VPN - Server
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/local/sbin/dsvpn server /etc/dsvpn/dsvpn.key auto 65011 dsvpn0 10.255.251.1 10.255.251.2
|
||||||
|
Restart=always
|
||||||
|
RestartSec=15
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=network.target
|
22
manager.json
Normal file
22
manager.json
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
"mptcp": true,
|
||||||
|
"ipv6_first": true,
|
||||||
|
"no_delay": true,
|
||||||
|
"ebpf": false,
|
||||||
|
"server": [
|
||||||
|
"[::0]",
|
||||||
|
"0.0.0.0"
|
||||||
|
],
|
||||||
|
"method": "chacha20-ietf-poly1305",
|
||||||
|
"fast_open": true,
|
||||||
|
"timeout": 600,
|
||||||
|
"port_key": {
|
||||||
|
"65101": "MySecretKey",
|
||||||
|
},
|
||||||
|
"local_port": 1081,
|
||||||
|
"verbose": 0,
|
||||||
|
"acl": "/etc/shadowsocks-libev/local.acl",
|
||||||
|
"mode": "tcp_and_udp",
|
||||||
|
"reuse_port": true,
|
||||||
|
"prefer_ipv6": false
|
||||||
|
}
|
17
mlvpn@.service.in
Normal file
17
mlvpn@.service.in
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
[Unit]
|
||||||
|
Description=MLVPN connection to %i
|
||||||
|
PartOf=mlvpn.service
|
||||||
|
ReloadPropagatedFrom=mlvpn.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=notify
|
||||||
|
NotifyAccess=main
|
||||||
|
ExecStart=/usr/local/sbin/mlvpn --config /etc/mlvpn/%i.conf --name %i --user mlvpn --quiet
|
||||||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
|
WorkingDirectory=/etc/mlvpn
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
|
12
omr-admin.service.in
Normal file
12
omr-admin.service.in
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=OMR-Admin
|
||||||
|
After=network.target network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
Restart=always
|
||||||
|
ExecStart=/usr/local/bin/omr-admin.py
|
||||||
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
12
shadowsocks-libev-manager@.service.in
Normal file
12
shadowsocks-libev-manager@.service.in
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Shadowsocks-Libev Custom Manager Service for %I
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
||||||
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||||
|
ExecStart=/usr/bin/ss-manager -c /etc/shadowsocks-libev/%i.json
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in a new issue