I2P Running on Whonix Gateway

Does setting I2P GW tunnels to listen on 0.0.0.0 make connections/configurations from the WS easier?

First of all sorry for the long Time that i didn’t work on this,
Currently the script is setting the listening IP to the Gateway IP, I don’t know if your suggestion would make connection easier, need to test this myself.

Currently its done like this :

GATEWAYIP=$(ifconfig eth1 | grep "inet" | cut -d ":" -f 2 | cut -d "B" -f 1)
#Change the Listening IP from Localhost to the Whonix-Gateway Ip
sed -i "s/\(.*interface=\).*/\1$GATEWAYIP/g;s/\(.*targetHost=\).*/\1$GATEWAYIP/g" "$I2P/i2ptunnel.config"
sed -i "s/127\.0\.0\.1/$GATEWAYIP/g" "$I2P/clients.config"

Hi all,
sorry for the long Downtime, i was occupied with other Projects.
In the next couple of days I’m going to continue where i left,
Need to catch up all the Whonix, I2P changes and Topics first.

3 Likes

Glad you haven’t abandoned this. :slight_smile: That’s good to know! :slight_smile:

I’ve got a Problem with anon-ws-disable-stacked-tor ,
my 50_user.conf looks like this :

I2P_PORTS=“2827 3456 4444 4445 6668 7622 7650 7651 7654 7656 7658 7659 7660 7661 7662 8998”
for i2p_port in ; do
socat TCP-LISTEN:,fork TCP:: &
done

But the anon-ws-disable-stacked-tor.service is not forwarding those Ports:

Any Idea what I’m doing wrong ?

bash syntax errors. Also I doubt the socat command would work. Anyhow. Try this.

I2P_PORTS="2827 3456 4444 4445 6668 7622 7650 7651 7654 7656 7658 7659 7660 7661 7662 8998"

for i2p_port in $I2P_PORTS ; do
   $pre_command socat TCP-LISTEN:$i2p_port,fork,bind=127.0.0.1 TCP:$GATEWAY_IP:$i2p_port &
done

Then socat redirection gets created.

sudo service anon-ws-disable-stacked-tor status | grep 2827
           ├─19601 sudo --non-interactive -u debian-tor socat TCP-LISTEN:2827,fork,bind=127.0.0.1 TCP:10.137.10.1:2827
           ├─19619 socat TCP-LISTEN:2827,fork,bind=127.0.0.1 TCP:10.137.10.1:2827
1 Like

Oh **** i’ve totally missed that, after searching for hours i overlooked this stupid mistake, something went wrong when creating this file.

Thanks for the Help :slight_smile:

Edit:
Now everything works again :grin:

1 Like

Any update?

no, no time and no motivation to work on this, nobody seems to care about it so i won’t continue to waste my time, if someone else wants to work on this they are free to do so.
I’m sorry that i wasted your time, maybe at some point i will continue this work.

2 Likes

This thread can still serve as a bad example. One among many wasting time. :slight_smile: Therefore I learned, that I somehow must not go into detailed development discussions for complex suggested features and rather have the contributor start with small things. Hard to communicate in order not to put off serious contributors.

2 Likes

please delete my account, i wont be posting here anyway

Hi @anon36816226 !

It is a pity to see the suspension of the project, but I respect your decision.

As HulaHoop said:

It seems the repository has also been deleted along with your Github account. I was trying to find some forks of it, serving as a backup which may benefit the future development of it, but failed.

Do you think it will be a good idea to offer a backup of the project somehow?

Yes, maybe one day!

1 Like