Tunnel control now lets you easily create client and server tunnels

pull/2/head
knaccc 5 years ago
parent 7b6a21c15a
commit b7039127e7

@ -68,15 +68,22 @@ Press Ctrl-C to gracefully shut down the router (or send the SIGINT signal to th
## Tunnel control
Listen for i2p connections and forward them to the specified host and port. Returns a newly created destination public key.
`dist/linux/router/bin/tunnel-control.sh server.create <host> <port>`
// Close the tunnel listening for connections on the specified port. Returns "OK".
Close the tunnel listening for connections on the specified port. Returns "OK".
`dist/linux/router/bin/tunnel-control.sh server.destroy <i2p destination public key>`
Create a tunnel that listens for connections on localhost and forwards connections over I2P to the specified destination public key. Returns a newly created localhost port number.
`dist/linux/router/bin/tunnel-control.sh client.create <i2p destination public key>`
Close the tunnel listening for connections on the specified port. Returns "OK".
`dist/linux/router/bin/tunnel-control.sh client.destroy <port>`

Loading…
Cancel
Save