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

ufw won't work on Alpine Linux #18

Open
skyfaller opened this issue Apr 6, 2022 · 1 comment
Open

ufw won't work on Alpine Linux #18

skyfaller opened this issue Apr 6, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@skyfaller
Copy link
Contributor

If we can't make ufw work, maybe we should try awall instead?

@skyfaller skyfaller added the bug Something isn't working label Apr 6, 2022
@Zarex
Copy link
Contributor

Zarex commented Jun 3, 2022

This seems to be the most useful tutorial (for our purposes) we found over the course of researching awall: https://www.linuxhowto.net/how-to-set-up-a-firewall-with-awall-on-alpine-linux/

In order to configure awall, it seems we are going to need to create a handful of "policy" objects which are just json files with a single formatted json object in it in the folder /etc/awall/optional/ which we can easily make with ansible's templating once we have configured the policies that we want for our dev server. From there, the ansible module will let us enable and disable the policies that we do not want, but we will probably only put policies on there that we want anyways, but it's good to know we can toggle them on and off

Other Links
Awall overview - https://git.alpinelinux.org/awall/about/
Awall For Dummies - https://wiki.alpinelinux.org/wiki/Zero-To-Awall#Awall_for_dummies
How-To-Awall - https://wiki.alpinelinux.org/wiki/How-To_Alpine_Wall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants