htrgouvea / nipe

An engine to make Tor network your default gateway
https://heitorgouvea.me/
Other
1.95k stars 314 forks source link

Problems with iptables #45

Closed Z33DD closed 5 years ago

Z33DD commented 5 years ago

My nipe is installed correctly. But when I try run it, the terminal shows the following message: $ perl nipe.pl start iptables v1.6.0: owner: Bad value for "--uid-owner" option: "tor" Try iptables -h or iptables --help for more information. iptables v1.6.0: owner: Bad value for "--uid-owner" option: "tor" Try iptables -h or iptables --help for more information.

I saw that there is already a closed issue dealing with this exact error message. But I don't understand the solution. The guy of original issue was using Debian, I'm using Elementary OS (based on Ubuntu 16.04.5 LTS) more info below:

$ cat /etc/*-release DISTRIB_ID="elementary" DISTRIB_RELEASE=0.4.1 DISTRIB_CODENAME=loki DISTRIB_DESCRIPTION="elementary OS 0.4.1 Loki" NAME="elementary OS" VERSION="0.4.1 Loki" ID="elementary" ID_LIKE=ubuntu PRETTY_NAME="elementary OS 0.4.1 Loki" VERSION_ID="0.4.1" HOME_URL="http://elementary.io/" SUPPORT_URL="http://elementary.io/support/" BUG_REPORT_URL="https://github.com/elementary/" VERSION_CODENAME=loki UBUNTU_CODENAME=loki

And perl and iptables are already in the last version.

ghost commented 5 years ago

to make it work with elementaryOS " a workaround" you need to change/switch the ubuntu username for tor in Device.pm

edit Device.pm in ../nipe/lib/Nipe/ and change the username under /[U,u]ubuntu/ from "tor" to "debian-tor"
then run the install process again perl nipe.pl install then start it using perl nipe start and it should establish a connection.

Z33DD commented 5 years ago

to make it work with elementaryOS " a workaround" you need to change/switch the ubuntu username for tor in Device.pm

edit Device.pm in ../nipe/lib/Nipe/ and change the username under /[U,u]ubuntu/ from "tor" to "debian-tor" then run the install process again perl nipe.pl install then start it using perl nipe start and it should establish a connection.

Ok, but what are the possiblity that this will cause problems in anothers programs?

ghost commented 5 years ago

to make it work with elementaryOS " a workaround" you need to change/switch the ubuntu username for tor in Device.pm edit Device.pm in ../nipe/lib/Nipe/ and change the username under /[U,u]ubuntu/ from "tor" to "debian-tor" then run the install process again perl nipe.pl install then start it using perl nipe start and it should establish a connection.

Ok, but what are the possiblity that this will cause problems in anothers programs?

what kind of issues ?

htrgouvea commented 5 years ago

@Z33DD I believe it will not cause any problems...

htrgouvea commented 5 years ago

I am working at this time to correct this problem. I'll be back soon with news.

htrgouvea commented 5 years ago

Hi @Z33DD and @alshawwa,

I updated some things in the Nipe code. Can you test to confirm that everything is okay?

Thx

Z33DD commented 5 years ago

Hi Heitor! I was using a old version of Elementary OS, all works ok with the new version.

htrgouvea commented 5 years ago

Thanks for the feedback!