-
-
Notifications
You must be signed in to change notification settings - Fork 315
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
[Question] The use in containers #16
Comments
@GouveaHeitor would you like This could be a cool idea. In theory, the container image can be used to help employ the use of Tor for other containerized applications. Thoughts? |
Hi @naltun, Yes, we would like to see Nipe running in a docker container! I tried to write Dockerfile a few times but I always got some problems/bugs! If you write Dockerfile, it will be of great help! Thx! |
@GouveaHeitor Alright, I'll try writing a Dockerfile. I'm new to Docker, but I've written a handful of Dockerfiles. Mind telling me what issues/complications you found when trying? |
The problems were related to iptables... I confess that I did not strive to look for the real reasons for this. |
@GouveaHeitor that is really helpful info. Thanks! |
Currently running into this gem:
Edit: Even running |
I'm working off of this branch, by the way. So I've gotten everything set up. I can start/stop the service, but |
@GouveaHeitor @naltun ok, I just got the same error while playing around with nipe in my machine (not container). Not even a direct request to What I figured out after some debugging was that I had a conflicting iptables rule with TCP/UDP output packets that Nipe set vs another component had set previously (libvirt to be more precise, related to virtualization). The solution I found was to basically flush the whole iptable rules I had:
Hence:
We could force a flush on iptables rules before nipe set its own rules, but I don't know how other apps rules would interact and, possibly, conflict with nipe's. FWIW, Issue #49 was closed and was related to this specific issue. I'm going to open a new issue to further investigate it. |
I started to develop an image for Nipe using the Dockerfile, it is available in the "develop" branch, however it is not ready yet. I believe that because it is an isolated and restricted container, we will not face problems such as conflict of rules of other applications, only if it is something of the docker image itself. |
@GouveaHeitor the idea is to keep both nipe and tor running on the same container? If so, yep, it may work without any problems. I have another idea that we'll need to discus further in the near future, involving a more robust approach with VMs instead of containers (which could be included, of course :P). |
Yes, the idea is to have everything operating in the same container ... I think people want Nipe in this format to be able to use it as a kind of proxy in their networks ... I'm trying to work on that because many people want to use it the nipe that way. |
Hi there, |
It's still not 100% but the best image I've managed to get so far is:
|
Thx @MrNonoss |
I'm running some tests, to eventually create a packaging continuous integration for my distro and would like to take a concept test in isolated environments . Do any of you have an "official" docker image with the nipe working properly?
ps. if you feel like answering in Portuguese!
The text was updated successfully, but these errors were encountered: