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:
parent
9de5f72c64
commit
607b274ae2
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ def glorytun():
|
||||||
os.close(fd)
|
os.close(fd)
|
||||||
move(tmpfile,'/etc/glorytun-udp/tun0')
|
move(tmpfile,'/etc/glorytun-udp/tun0')
|
||||||
os.system("systemctl -q restart 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'})
|
return jsonify({'result': 'done'})
|
||||||
|
|
||||||
# Set OpenVPN config
|
# Set OpenVPN config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue