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

default nixos config: add firewall options. #22336

Merged
merged 1 commit into from
Feb 3, 2017

Conversation

layus
Copy link
Member

@layus layus commented Feb 1, 2017

By showing how to open ports in the firewall and how to disable it, we make users aware that there is a firewall enabled by default.

This implements the idea behind #12957 (as outlined by #12957 (comment)), without changing the default value.

@mention-bot
Copy link

@layus, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @aszlig and @wkennington to be potential reviewers.

@@ -588,6 +588,12 @@ sub multiLineList {
# Enable the OpenSSH daemon.
# services.openssh.enable = true;

# Open ports in the firewall
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Period missing.

# Open ports in the firewall
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here too.

By showing how to open ports in the firewall and how to disable it, we make users aware that there is a firewall enabled by default.
@layus
Copy link
Member Author

layus commented Feb 3, 2017

@edolstra Updated according to comments.

@globin globin merged commit 698f178 into NixOS:master Feb 3, 2017
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

Successfully merging this pull request may close these issues.

None yet

4 participants