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

Fix DHCP for OpenVPN

This commit is contained in:
Ycarus 2019-02-04 18:54:43 +00:00
parent dee3add694
commit f956c991a5

View file

@ -175,6 +175,7 @@ def config():
openvpn_port = line.replace(line[:5], '').rstrip() openvpn_port = line.replace(line[:5], '').rstrip()
openvpn_host_ip = '10.255.253.1' openvpn_host_ip = '10.255.253.1'
#openvpn_client_ip = '10.255.253.2' #openvpn_client_ip = '10.255.253.2'
openvpn_client_ip = 'dhcp'
if os.path.isfile('/etc/mlvpn/mlvpn0.conf'): if os.path.isfile('/etc/mlvpn/mlvpn0.conf'):
mlvpn_config = configparser.ConfigParser() mlvpn_config = configparser.ConfigParser()