mirror of
https://github.com/Justuser3310/jetwork.git
synced 2025-01-18 17:08:48 +00:00
Переход на публичный адрес
This commit is contained in:
parent
7b42fa0680
commit
2ef9fa6fb8
8
proxy.py
8
proxy.py
@ -6,17 +6,17 @@ global http_out ; http_out = None
|
||||
def proxy_http(port):
|
||||
global http_out
|
||||
if name == "posix":
|
||||
http_out = system(f"./bore local 8000 --to jetwork.404.mn --port {port}")
|
||||
http_out = system(f"./bore local 8000 --to bore.pub --port {port}")
|
||||
elif name == "nt":
|
||||
http_out = system(f"bore local 8000 --to jetwork.404.mn --port {port}")
|
||||
http_out = system(f"bore local 8000 --to bore.pub --port {port}")
|
||||
|
||||
global serv_out ; serv_out = None
|
||||
def proxy_serv(port):
|
||||
global serv_out
|
||||
if name == "posix":
|
||||
http_out = system(f"./bore local 8001 --to jetwork.404.mn --port {port}")
|
||||
http_out = system(f"./bore local 8001 --to bore.pub --port {port}")
|
||||
elif name == "nt":
|
||||
http_out = system(f"bore local 8001 --to jetwork.404.mn --port {port}")
|
||||
http_out = system(f"bore local 8001 --to bore.pub --port {port}")
|
||||
|
||||
|
||||
def watch_http(port):
|
||||
|
Loading…
Reference in New Issue
Block a user