Skip to content
Jaime Pillora edited this page Mar 25, 2016 · 1 revision

Server

There be a proxy server listen on 127.0.0.1:8123 on server. (squid or polipo) create a file /etc/chisel.json, with content

{
    "USER:AVERYSTRONGPASSWORD": [
        ""
    ]
}

Run command

docker run -d --restart=always --name chisel-server  -v /etc/chisel.json:/etc/chisel.json -p 0.0.0.0:8719:8719  jpillora/chisel server -v --port 8719 --authfile /etc/chisel.json

Client

$SERVER_IP will be your chisel server ip address

Run command

docker run -d --restart=always --name chisel  -p 0.0.0.0:8123:8123 jpillora/chisel client -v --keepalive 300s --auth USER:AVERYSTRONGPASSWORD $SERVER_IP:8719 8123

After it success connected to chisel server, the localhost:8123 will forward tcp connection to remote server proxy server port, you will be access to the free network

Clone this wiki locally