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

Fix shorewall glorytun port open

This commit is contained in:
Ycarus 2019-05-24 20:19:56 +00:00
parent 9de5f72c64
commit 607b274ae2

View file

@ -429,7 +429,7 @@ def glorytun():
os.close(fd)
move(tmpfile,'/etc/glorytun-udp/tun0')
os.system("systemctl -q restart glorytun-udp@tun0")
shorewall_port(port,str(port),'glorytun')
shorewall_port(str(port),'tcp','glorytun')
return jsonify({'result': 'done'})
# Set OpenVPN config