Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 758 Bytes

README.md

File metadata and controls

26 lines (23 loc) · 758 Bytes

Websocket TCP Encapsulator

This simple script allows you to remotely access devices on another network where you can't open ports on the router. I'm using this code in a personal project, and I'd like to share it with you. ^^

Explain in image : image

Config corresponding to the image :

config = {
    "servers": [
        {
            "name": "my-client",
            "listen_port": 3033,
            "password": "MySecretPassword",
            "ports": {
                "4000": {
                    "redirect_ip": "192.168.1.12",
                    "redirect_port": 80
                }
            }
        }
    ]
}