README formatting

pull/2/head
knaccc 5 years ago
parent cfe2d81c31
commit 1861bb4079

@ -67,30 +67,30 @@ 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.
#### 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.
#### 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".
#### Close the tunnel listening for connections on the specified port. Returns "OK".
`dist/linux/router/bin/tunnel-control.sh client.destroy <port>`
### Create a socks tunnel, listening on the specified port
#### Create a socks tunnel, listening on the specified port
`dist/linux/router/bin/tunnel-control.sh socks.create <port>`
### Destroy the socks tunnel listening on the specified port
#### Destroy the socks tunnel listening on the specified port
`dist/linux/router/bin/tunnel-control.sh socks.destroy <port>`

Loading…
Cancel
Save