[arch-general] How to autostart ufw on system startup?

Sebastian M. vevais at gmail.com
Thu Apr 16 02:50:22 UTC 2015


You can enable services (and thus autostart them at boot) withthis
command:

# systemctl enable service

This means, you will need to type: # systemctl enable ufw

Also, I recommend reading the wiki. 
https://wiki.archlinux.org/index.php/Systemd

Best regards,
Sebastian M.

On Wed, Apr 15, 2015 at 09:39:50PM -0500, Francis Gerund wrote:
> Hello!
> 
> How do I get ufw to start automatically upon Arch system startup?
> 
> The Arch wiki Uncomplicated Firewall pages says:
> "Start ufw as systemd service to have it running and enable it to make it
> available after boot. "
> 
> How do I do that?
> 
> Then it shows an example configuration (can't I just keep the default: deny
> all incoming, allow all outgoing)?
> 
> Then it says:
> "The next line is only needed *once* the first time you install the
> package:
> 
> # ufw enable"
> 
> That does not seem to be true - I have to do "sudo ufw enable" every
> time I restart the system.
> 
> Then, it says:
> "Then enable the ufw service with systemctl."
> How?
> Bottom line: ufw works okay, I just want it to start automatically
> when the system starts up.


More information about the arch-general mailing list