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

Add Ubuntu information how to open firewall for Xdebug #30

Closed
peterjaap opened this issue Mar 28, 2017 · 12 comments
Closed

Add Ubuntu information how to open firewall for Xdebug #30

peterjaap opened this issue Mar 28, 2017 · 12 comments
Assignees
Milestone

Comments

@peterjaap
Copy link
Contributor

No description provided.

@JeroenBoersma
Copy link
Owner

This is flavor specific, also people tend to choose their own firewall(ufw/iptables/shorewall/etc).
I know I've enabled this ufw firewall on your pc, otherwise it would had been turned off by default :)

Maybe we could have a section in the wiki on this.

@Caroga
Copy link
Collaborator

Caroga commented Mar 29, 2017

As I spoke with @JeroenBoersma earlier today, I mentioned revamping the README for this repo. I'd be happy to include said instructions in it, if you provide them for me.

@Caroga
Copy link
Collaborator

Caroga commented Apr 25, 2017

Any update on this matter? I found some time to do the docu rewrite this week, so if you wish to include this than copy the ubuntu specific configuration in here and I will make sure to address this in the new docu.

@JeroenBoersma
Copy link
Owner

For Ubuntu it'll be; (I'll prefer command line because I don't want to describe every graphical configuration tool)

sudo ufw enable # if you didn't already, shame on you
sudo ufw allow in on docker0 from 172.17.0.0/24 to 172.17.0.1/32 port 9000 comment xdebug

@Caroga
Copy link
Collaborator

Caroga commented May 31, 2017

Ofcourse. Also, I believe that UFW is enabled by default? I could also add the native iptables equivalent if needed?

@JeroenBoersma
Copy link
Owner

Believe again; ufw is disabled on clean installs!

@JeroenBoersma
Copy link
Owner

maybe iptables is a nice addition

@Caroga
Copy link
Collaborator

Caroga commented May 31, 2017

Okay, I just see that my first_boot script enables it, therefore the wrong believes ^^,

@JeroenBoersma
Copy link
Owner

@Caroga are you still willing to add this info?

@JeroenBoersma
Copy link
Owner

Start with ufw and we accept PR's on all others

@Caroga
Copy link
Collaborator

Caroga commented Sep 5, 2017

@JeroenBoersma yes, I will create a PR to collect all additional info and update the documentation.

@njam
Copy link

njam commented Nov 23, 2017

this works for me:

sudo ufw allow in from 172.16.0.0/12 to any port 9000 comment xdebug

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

No branches or pull requests

4 participants