1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps-admin.git synced 2025-02-12 10:31:52 +00:00

Fix VPN list

This commit is contained in:
Ycarus 2020-03-09 22:00:42 +01:00
parent b9d326cf8f
commit 0bee06d216

View file

@ -701,7 +701,7 @@ async def config(current_user: User = Depends(get_current_user)):
else:
glorytun_udp_host_ip = '10.255.254.1'
glorytun_udp_client_ip = '10.255.254.2'
available_vpn = ["glorytun-tcp", "glorytun-udp"]
available_vpn = ["glorytun_tcp", "glorytun_udp"]
LOG.debug('Get config... dsvpn')
if os.path.isfile('/etc/dsvpn/dsvpn' + str(userid) + '.key'):
dsvpn_key = open('/etc/dsvpn/dsvpn' + str(userid) + '.key').readline().rstrip()