NagisaNao commited on
Commit
960a275
1 Parent(s): d613266

add pinngy tunnel

Browse files
files_cells/notebooks/en/launch_en.ipynb CHANGED
@@ -93,6 +93,8 @@
93
  "tunnel = tunnel_class(tunnel_port)\n",
94
  "tunnel.add_tunnel(command=\"cl tunnel --url localhost:{port}\", name=\"cl\", pattern=re.compile(r\"[\\w-]+\\.trycloudflare\\.com\"))\n",
95
  "\n",
 
 
96
  "if lt_tunnel:\n",
97
  " tunnel.add_tunnel(command=\"lt --port {port}\", name=\"lt\", pattern=re.compile(r\"[\\w-]+\\.loca\\.lt\"), note=\"Password : \" + \"\\033[32m\" + public_ipv4 + \"\\033[0m\" + \" rerun cell if 404 error.\")\n",
98
  "\n",
 
93
  "tunnel = tunnel_class(tunnel_port)\n",
94
  "tunnel.add_tunnel(command=\"cl tunnel --url localhost:{port}\", name=\"cl\", pattern=re.compile(r\"[\\w-]+\\.trycloudflare\\.com\"))\n",
95
  "\n",
96
+ "tunnel.add_tunnel(command=\"ssh -o StrictHostKeyChecking=no -p 80 -R0:localhost:{port} a.pinggy.io\", name=\"pinngy\", pattern=re.compile(r\"[\\w-]+\\.a\\.free\\.pinggy\\.link\"))\n",
97
+ "\n",
98
  "if lt_tunnel:\n",
99
  " tunnel.add_tunnel(command=\"lt --port {port}\", name=\"lt\", pattern=re.compile(r\"[\\w-]+\\.loca\\.lt\"), note=\"Password : \" + \"\\033[32m\" + public_ipv4 + \"\\033[0m\" + \" rerun cell if 404 error.\")\n",
100
  "\n",
files_cells/notebooks/ru/launch_ru.ipynb CHANGED
@@ -93,6 +93,8 @@
93
  "tunnel = tunnel_class(tunnel_port)\n",
94
  "tunnel.add_tunnel(command=\"cl tunnel --url localhost:{port}\", name=\"cl\", pattern=re.compile(r\"[\\w-]+\\.trycloudflare\\.com\"))\n",
95
  "\n",
 
 
96
  "if lt_tunnel:\n",
97
  " tunnel.add_tunnel(command=\"lt --port {port}\", name=\"lt\", pattern=re.compile(r\"[\\w-]+\\.loca\\.lt\"), note=\"Password : \" + \"\\033[32m\" + public_ipv4 + \"\\033[0m\" + \" rerun cell if 404 error.\")\n",
98
  "\n",
 
93
  "tunnel = tunnel_class(tunnel_port)\n",
94
  "tunnel.add_tunnel(command=\"cl tunnel --url localhost:{port}\", name=\"cl\", pattern=re.compile(r\"[\\w-]+\\.trycloudflare\\.com\"))\n",
95
  "\n",
96
+ "tunnel.add_tunnel(command=\"ssh -o StrictHostKeyChecking=no -p 80 -R0:localhost:{port} a.pinggy.io\", name=\"pinngy\", pattern=re.compile(r\"[\\w-]+\\.a\\.free\\.pinggy\\.link\"))\n",
97
+ "\n",
98
  "if lt_tunnel:\n",
99
  " tunnel.add_tunnel(command=\"lt --port {port}\", name=\"lt\", pattern=re.compile(r\"[\\w-]+\\.loca\\.lt\"), note=\"Password : \" + \"\\033[32m\" + public_ipv4 + \"\\033[0m\" + \" rerun cell if 404 error.\")\n",
100
  "\n",
files_cells/python/en/launch_en.py CHANGED
@@ -69,6 +69,8 @@ tunnel_port = 1834
69
  tunnel = tunnel_class(tunnel_port)
70
  tunnel.add_tunnel(command="cl tunnel --url localhost:{port}", name="cl", pattern=re.compile(r"[\w-]+\.trycloudflare\.com"))
71
 
 
 
72
  if lt_tunnel:
73
  tunnel.add_tunnel(command="lt --port {port}", name="lt", pattern=re.compile(r"[\w-]+\.loca\.lt"), note="Password : " + "\033[32m" + public_ipv4 + "\033[0m" + " rerun cell if 404 error.")
74
 
 
69
  tunnel = tunnel_class(tunnel_port)
70
  tunnel.add_tunnel(command="cl tunnel --url localhost:{port}", name="cl", pattern=re.compile(r"[\w-]+\.trycloudflare\.com"))
71
 
72
+ tunnel.add_tunnel(command="ssh -o StrictHostKeyChecking=no -p 80 -R0:localhost:{port} a.pinggy.io", name="pinngy", pattern=re.compile(r"[\w-]+\.a\.free\.pinggy\.link"))
73
+
74
  if lt_tunnel:
75
  tunnel.add_tunnel(command="lt --port {port}", name="lt", pattern=re.compile(r"[\w-]+\.loca\.lt"), note="Password : " + "\033[32m" + public_ipv4 + "\033[0m" + " rerun cell if 404 error.")
76
 
files_cells/python/ru/launch_ru.py CHANGED
@@ -69,6 +69,8 @@ tunnel_port = 1834
69
  tunnel = tunnel_class(tunnel_port)
70
  tunnel.add_tunnel(command="cl tunnel --url localhost:{port}", name="cl", pattern=re.compile(r"[\w-]+\.trycloudflare\.com"))
71
 
 
 
72
  if lt_tunnel:
73
  tunnel.add_tunnel(command="lt --port {port}", name="lt", pattern=re.compile(r"[\w-]+\.loca\.lt"), note="Password : " + "\033[32m" + public_ipv4 + "\033[0m" + " rerun cell if 404 error.")
74
 
 
69
  tunnel = tunnel_class(tunnel_port)
70
  tunnel.add_tunnel(command="cl tunnel --url localhost:{port}", name="cl", pattern=re.compile(r"[\w-]+\.trycloudflare\.com"))
71
 
72
+ tunnel.add_tunnel(command="ssh -o StrictHostKeyChecking=no -p 80 -R0:localhost:{port} a.pinggy.io", name="pinngy", pattern=re.compile(r"[\w-]+\.a\.free\.pinggy\.link"))
73
+
74
  if lt_tunnel:
75
  tunnel.add_tunnel(command="lt --port {port}", name="lt", pattern=re.compile(r"[\w-]+\.loca\.lt"), note="Password : " + "\033[32m" + public_ipv4 + "\033[0m" + " rerun cell if 404 error.")
76