Fixed for i2p
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ P2Pool has several command-line options that should be used for I2P setup:
|
|||||||
## Setting up I2P tunnels for P2Pool (i2pd on Linux)
|
## Setting up I2P tunnels for P2Pool (i2pd on Linux)
|
||||||
|
|
||||||
Follow [these instructions](https://docs.i2pd.website/en/latest/user-guide/install/) to install i2pd on your system.
|
Follow [these instructions](https://docs.i2pd.website/en/latest/user-guide/install/) to install i2pd on your system.
|
||||||
First, ensure both the SOCKS proxy and SAM bridge tunnels are enabled (as they should be by default). See [here](https://docs.i2pd.website/en/latest/user-guide/configuration/) for more information.
|
First, ensure the SOCKS proxy tunnel is enabled (as it should be by default). See [here](https://docs.i2pd.website/en/latest/user-guide/configuration/) for more information.
|
||||||
|
|
||||||
You will need to modify some lines in the `tunnels.conf` file, usually located in `/var/lib/i2pd/tunnels.conf` on Linux.
|
You will need to modify some lines in the `tunnels.conf` file, usually located in `/var/lib/i2pd/tunnels.conf` on Linux.
|
||||||
Add a server tunnel to allow inbound connections from peers:
|
Add a server tunnel to allow inbound connections from peers:
|
||||||
|
|||||||
@@ -408,6 +408,7 @@ bool Params::process_arg(const std::vector<std::string>& arg)
|
|||||||
if (s == "auto") m_socks5ProxyType = ProxyType::AUTO;
|
if (s == "auto") m_socks5ProxyType = ProxyType::AUTO;
|
||||||
if (s == "plain") m_socks5ProxyType = ProxyType::PLAIN;
|
if (s == "plain") m_socks5ProxyType = ProxyType::PLAIN;
|
||||||
if (s == "tor") m_socks5ProxyType = ProxyType::TOR;
|
if (s == "tor") m_socks5ProxyType = ProxyType::TOR;
|
||||||
|
if (s == "i2p") m_socks5ProxyType = ProxyType::I2P;
|
||||||
|
|
||||||
return m_socks5ProxyType != ProxyType::INVALID;
|
return m_socks5ProxyType != ProxyType::INVALID;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user