https://github.com/thetechromancer/fun-tunnel
NIC bridging over the internet with Python
https://github.com/thetechromancer/fun-tunnel
Last synced: 11 months ago
JSON representation
NIC bridging over the internet with Python
- Host: GitHub
- URL: https://github.com/thetechromancer/fun-tunnel
- Owner: TheTechromancer
- Created: 2018-04-25T04:32:16.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-18T18:37:37.000Z (almost 8 years ago)
- Last Synced: 2025-02-07T11:34:11.264Z (over 1 year ago)
- Language: Python
- Size: 34.2 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FunTunnel.py
### Tunnel layer 2 traffic over TCP with a single Python script
### Features:
* **NIC bridging over the internet**
* Single script acts as client or server
* No virtual interface is created client-side
* 100% vanilla Python (no external dependencies)
### Please be aware:
1. Traffic is obfuscated using an SSL self-signed cert, so it's possible for the data to be decrypted.
2. Requires root access on both server and client
3. Doesn't work on Windows. Tested on Linux.
4. Future developments may include:
* Tunnelling over well-formed HTTP / WebSockets
### Help:
~~~
usage: FunTunnel.py [-h] [-i] [-p] [-v] [host]
im in ur network sniffin ur packetz
positional arguments:
host connect to host (client mode)
optional arguments:
-h, --help show this help message and exit
-i , --interface interface to bridge (default: enp5s0)
-p , --port port number on which to listen/connect (default: 8080)
-v, --verbose print detailed information
~~~
### Simple example:
**Server:**
~~~
$ ./FunTunnel.py
~~~
**Client:**
~~~
$ ./FunTunnel.py
~~~