{"id":15655592,"url":"https://github.com/torxed/ftunnel","last_synced_at":"2025-03-24T01:44:21.072Z","repository":{"id":150500728,"uuid":"187884830","full_name":"Torxed/ftunnel","owner":"Torxed","description":"stunnel but written in Python","archived":false,"fork":false,"pushed_at":"2019-05-23T13:41:42.000Z","size":77,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T17:23:05.482Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Torxed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-21T17:32:25.000Z","updated_at":"2023-04-22T20:57:15.000Z","dependencies_parsed_at":"2023-07-29T01:15:43.380Z","dependency_job_id":null,"html_url":"https://github.com/Torxed/ftunnel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2Fftunnel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2Fftunnel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2Fftunnel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2Fftunnel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Torxed","download_url":"https://codeload.github.com/Torxed/ftunnel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245195908,"owners_count":20575936,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T12:59:55.509Z","updated_at":"2025-03-24T01:44:21.046Z","avatar_url":"https://github.com/Torxed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ftunnel\nstunnel but written in Python..\n\n# HOWTO\n\nWhere you're coming from:\n\n    python ftunnel.py --source=:1337 --destination=hvornum.se:443 --http=destination\n\nWhere you're going:\n\n    python ftunnel.py --source=:443 --destination=127.0.0.1:22 --http=source\n\nThen simply point for instance OpenVPN towards `127.0.0.1:1337`.\n\nThis will create a transparent/passive tunnel, masking the traffic coming in on `--source` as a HTTP `POST` request while it's being transmitted between two ftunnel sessions. And the destination will extract the original traffic before sending it to it's `--destination`.\n\n![overview](screenshot.png)\n\n# Parameters\n\n    --http=\u003csource|destination\u003e\n      Tells ftunnel if the [incoming] data should be [unwrapped]\n      or if [destination] traffic should be [wrapped] before sending.\n    \n    --source=[IP]\u003c:PORT\u003e\n      Which port (and/or IP) to listen on.\n    \n    --destination=\u003cIP:PORT\u003e\n      Where to relay the data passively. I say passively because the original\n      data is never touched.\n      \n    --pem=[./*.pem|/etc/ftunnel/*.pem]\n      Supply a custom key \u0026 cert pair (pem format for now)\n      TODO: Just generate one in runtime if one ain't supplied.\n    \n    --verbose\n    --verbosity=3\n      Manages the level of logging and if printing output to terminal\n      should be enabled or not (default off).\n\n# TODO:\n\n * Get it working with OpenSSH\n * Get it working with webservers behind the destination\n\nThere's something dodgy with session-based sockets.\nOpenVPN for instance works fine, just not if the sockets expects\nto be closed every now and then.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorxed%2Fftunnel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorxed%2Fftunnel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorxed%2Fftunnel/lists"}