mirror of
https://github.com/Ysurac/openmptcprouter-vps-admin.git
synced 2025-02-12 18:41:52 +00:00
Fix mlvpn and openvpn ip
This commit is contained in:
parent
d688cab92f
commit
c1be74ca8e
1 changed files with 5 additions and 5 deletions
|
@ -221,8 +221,8 @@ def config():
|
|||
for line in openvpn_file:
|
||||
if 'port ' in line:
|
||||
openvpn_port = line.replace(line[:5], '').rstrip()
|
||||
openvpn_host_ip = '10.255.253.1'
|
||||
openvpn_client_ip = '10.255.253.2'
|
||||
openvpn_host_ip = '10.255.252.1'
|
||||
openvpn_client_ip = '10.255.252.2'
|
||||
#openvpn_client_ip = 'dhcp'
|
||||
|
||||
if os.path.isfile('/etc/mlvpn/mlvpn0.conf'):
|
||||
|
@ -232,8 +232,8 @@ def config():
|
|||
available_vpn.append("mlvpn")
|
||||
else:
|
||||
mlvpn_key = ''
|
||||
mlvpn_host_ip = ''
|
||||
mlvpn_client_ip = ''
|
||||
mlvpn_host_ip = '10.255.253.1'
|
||||
mlvpn_client_ip = '10.255.253.2'
|
||||
|
||||
|
||||
mptcp_enabled = os.popen('sysctl -n net.mptcp.mptcp_enabled').read().rstrip()
|
||||
|
|
Loading…
Reference in a new issue