1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-03-09 15:50:00 +00:00

Add OpenVPN support and fix MLVPN support

This commit is contained in:
Ycarus (Yannick Chabanois) 2018-06-12 15:13:34 +00:00
parent 55433c52e4
commit 148d3fbcd0
5 changed files with 51 additions and 5 deletions

17
openvpn.network Normal file
View file

@ -0,0 +1,17 @@
[Match]
Name=tun*
[Network]
Description=OpenVPN tunnel
Address=10.255.252.1/24
DHCPServer=yes
IPMasquerade=yes
[DHCPServer]
PoolOffset=2
PoolSize=1
EmitDNS=no
EmitNTP=no
DNS=9.9.9.9
DefaultLeaseTimeSec=12h
MaxLeaseTimeSec=24h