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:
parent
dee3add694
commit
f956c991a5
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue