diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -221,18 +221,18 @@ Running http on port 80 and https on port 443 | |||
221 | In order to hide GNUnet's HTTP/HTTPS traffic perfectly, you might | 221 | In order to hide GNUnet's HTTP/HTTPS traffic perfectly, you might |
222 | consider running GNUnet's HTTP/HTTPS transport on port 80/443. | 222 | consider running GNUnet's HTTP/HTTPS transport on port 80/443. |
223 | However, we do not recommend running GNUnet as root. Instead, forward | 223 | However, we do not recommend running GNUnet as root. Instead, forward |
224 | port 80 to say 8080 with this command (as root, in your startup | 224 | port 80 to say 1080 with this command (as root, in your startup |
225 | scripts): | 225 | scripts): |
226 | 226 | ||
227 | # iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080 | 227 | # iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 1080 |
228 | 228 | ||
229 | or for HTTPS | 229 | or for HTTPS |
230 | 230 | ||
231 | # iptables -t nat -A PREROUTING -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 4433 | 231 | # iptables -t nat -A PREROUTING -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 4433 |
232 | 232 | ||
233 | Then set in the HTTP section of gnunet.conf the "ADVERTISED-PORT" to | 233 | Then set in the HTTP section of gnunet.conf the "ADVERTISED_PORT" to |
234 | "80" and "PORT" to 8080 and similarly in the HTTPS section the | 234 | "80" and "PORT" to 1080 and similarly in the HTTPS section the |
235 | "ADVERTISED-PORT" to "443" and "PORT" to 4433. | 235 | "ADVERTISED_PORT" to "443" and "PORT" to 4433. |
236 | 236 | ||
237 | You can do the same trick for the TCP and UDP transports if you want | 237 | You can do the same trick for the TCP and UDP transports if you want |
238 | to map them to a priviledged port (from the point of view of the | 238 | to map them to a priviledged port (from the point of view of the |