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

is it possible to remove external network manipulation? #10

Open
towc opened this issue Jun 28, 2019 · 3 comments
Open

is it possible to remove external network manipulation? #10

towc opened this issue Jun 28, 2019 · 3 comments

Comments

@towc
Copy link

towc commented Jun 28, 2019

I've been trying to create a dockerized AP for a while, in a way that can fit a docker-compose workflow. I didn't get anywhere close, without ssh-ing into the host or mounting just about everything, but your approach seems promising.

It was trivial to fill the templates from within the container and similar, but I can't seem to be able to configure the networking completely from within the container (and docker-cli arguments / docker-compose.yml params)

I'm trying on arm.

Do you think this is even possible? It would be great to have an example of that somewhere on the web

@fgg89
Copy link
Owner

fgg89 commented Jul 3, 2019

Hi @towc;

DockerAP already configures the minimum network related config such as IP forwarding, masquerading, etc. Could you please provide more details about what you're trying to achieve?

Thanks!

@towc
Copy link
Author

towc commented Jul 3, 2019

Hi, thanks for your time

DockerAP still uses external scripts to link a netns-ed network to the container's. Is there a way to avoid that?

What I'm trying to achieve is being able to do docker-compose up hotspot and the AP would be up, then when I bring the container down, the AP would go down with it, without external scripts

@fgg89
Copy link
Owner

fgg89 commented Sep 21, 2019

Hi @towc

I believe a systemd script would better suit your purposes, right? It would call the docker_ap script with the necessary arguments and you would have the functionality integrated as a service and hence be able to start/stop it as you want.

If you need one let me know and I'll try to add it shortly.

Regards.

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

No branches or pull requests

2 participants