Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicting iptables rules #88

Open
bmeneg opened this issue Jan 24, 2020 · 2 comments
Open

Conflicting iptables rules #88

bmeneg opened this issue Jan 24, 2020 · 2 comments

Comments

@bmeneg
Copy link
Contributor

bmeneg commented Jan 24, 2020

It seems some startup services may add conflicting rules to the system against Nipe:

$ ./nipe.pl start
...
$ ./nipe.pl status
[!] ERROR: sorry, it was not possible to establish a connection to the server.
$ curl https://check.torproject.org/api/ip
curl: (6) Could not resolve host: check.torproject.org

A solution I found was to completely flush iptables rules before nipe set its own rules:

$ ./nipe.pl stop
# iptables -F
$ ./nipe.pl start
...
$ curl https://check.torproject.org/api/ip
{"IsTor":true,"IP":"46.165.245.154"}
$ ./nipe.pl status
[+] Status: activated. 
[+] Ip: 87.118.116.103

One problem with this solution is the possible future conflicts we may have against other apps on the system. I'm don't really know how iptables works, so any help is welcome!

@bmeneg
Copy link
Contributor Author

bmeneg commented Jan 24, 2020

Just fyi, this issue reflects the same behavior found in issue #49 .

@ghost
Copy link

ghost commented May 29, 2020

wow, i was trying for months to get a connection ! Thank u so much my friend @bmeneguele

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants