diff options
-rw-r--r-- | .tunneltop.toml | 19 | ||||
-rw-r--r-- | poetry.lock | 8 | ||||
-rwxr-xr-x | tunneltop/tunneltop.py (renamed from tunneltop.py) | 0 |
3 files changed, 27 insertions, 0 deletions
diff --git a/.tunneltop.toml b/.tunneltop.toml new file mode 100644 index 0000000..852a1c4 --- /dev/null +++ b/.tunneltop.toml @@ -0,0 +1,19 @@ +[socks5ir] +address = "127.0.0.1" +port = 9997 +command = "autossh -M 0 -N -D 9997 -o ServerAliveInterval=180 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes -l debian -p 22 100.100.100.101" +test_command = 'curl "%{http_code}" -k -I -4 --socks5 socks5h://127.0.0.1:9997 https://icanhazip.com' +# test_command = "" +test_command_result = "200" +test_interval = 300 +test_timeout = 10 + +[socks5_3] +address = "127.0.0.1" +port = 9995 +command = "autossh -M 0 -N -D 0.0.0.0:9995 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=no -o ServerAliveInterval=180 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes -l debian -p 2022 100.100.100.100" +test_command = 'curl "%{http_code}" -k -I -4 --socks5 socks5h://127.0.0.1:9995 https://icanhazip.com' +# test_command = "" +test_command_result = "200" +test_interval = 300 +test_timeout = 10 diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000..e968c09 --- /dev/null +++ b/poetry.lock @@ -0,0 +1,8 @@ +package = [] + +[metadata] +lock-version = "1.1" +python-versions = "^3.11" +content-hash = "81b2fa642d7f2d1219cf80112ace12d689d053d81be7f7addb98144d56fc0fb2" + +[metadata.files] diff --git a/tunneltop.py b/tunneltop/tunneltop.py index b752fbf..b752fbf 100755 --- a/tunneltop.py +++ b/tunneltop/tunneltop.py |