Answer the question
In order to leave comments, you need to log in
Redirecting i2p traffic to a proxy using a router on dd-wrt
Situation. Home network:.
Dir-300 router on DD-Wrt firmware; ubuntu server ; a certain number of clients - devices on completely different platforms that access the Internet through a router both over the air and over copper.
On the ubuntu server, a proxy has been raised to access the i2p network. Now, in the proxy settings on each device, you have to configure or prescribe proxy.pac :
function FindProxyForURL(url, host) {
if (dnsDomainIs(host, ".i2p")) {
return "PROXY 192.168.1.105:4444";
} else {
return "DIRECT";
}
}
Purpose Make it so that devices do not need additional settings, and the router itself forwards i2p traffic to a proxy, the rest goes directly as before. i2p page URLs always look like vsyakaya_dlinnaya_habrakadabra.i2p
Question. Is it possible to do this? The router is on Linux and has iptables. Maybe there are some other ways?
I myself am far from administration and have been reading about iptables for 2 days now. While in the head porridge. Is it worth it to continue or am I in the wrong place?
Answer the question
In order to leave comments, you need to log in
Something like iptables -t nat -A OUTPUT -d *.i2p -p tcp --dport 80 -j DNAT --to-destination 192.168.1.105:4444
It is not safe. i2p is so good in its pure form that it cannot compromise you, for example, with a script leading to the external Internet. Ideally, nothing outside of i2p should work. Otherwise it's a security hole. What you offer has the right to exist, but anonymity here is very conditional.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question