mirror of
https://github.com/wownero/i2p-zero.git
synced 2026-11-27 02:34:16 +01:00
readme corrections
This commit is contained in:
@@ -29,7 +29,7 @@ public class Main {
|
||||
p.put("router.sharePercentage","80");
|
||||
|
||||
// allow default properties to be overridden via command line args, e.g. --i2p.dir.base=/usr/share/i2p
|
||||
for(String arg : args) {
|
||||
for(var arg : args) {
|
||||
if(arg.startsWith("--")) {
|
||||
String[] s = arg.split("=");
|
||||
String argName = s[0].substring("--".length());
|
||||
|
||||
@@ -33,7 +33,7 @@ public class TunnelControl implements Runnable {
|
||||
// listen for socket connections to the tunnel controller.
|
||||
// listen for the commands on port 30000:
|
||||
// server.create <host> <port> // returns a newly created destination public key, which will listen for i2p connections and forward them to the specified host and port
|
||||
// server.destroy <i2p destination public key> // closes the tunnel listening for connections on the specified port, and returns OK
|
||||
// server.destroy <i2p destination public key> // closes the tunnel listening for connections on the specified destination public key, and returns OK
|
||||
// client.create <i2p destination public key> // returns a newly created localhost port number, where connections will be sent over I2P to the destination public key
|
||||
// client.destroy <port> // closes the tunnel listening for connections on the specified port, and returns OK
|
||||
// socks.create <port> // creates a socks proxy listening on the specified port
|
||||
|
||||
Reference in New Issue
Block a user