Debian: How to make UFW active at boot
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm trying to get ufw to activate on boot on my Debian 9 server. So for, I've tried
ufw enable
and
systemctl enable ufw
but neither make ufw enabled at boot.
Any suggestions on how to make ufw active, not just enabled, on boot?
Update #1
Tried this too:
root@server:~# systemctl enable --now ufw
Synchronizing state of ufw.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable ufw
root@server:~# ufw enable
After a reboot, the ufw service is not active:
root@server:~# ufw status verbose
Status: inactive
The journalctl -x
log says this:
May 18 15:47:58 server systemd[1]: Started Uncomplicated firewall.
-- Subject: Unit ufw.service has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit ufw.service has finished starting up.
--
-- The start-up result is done.
So the service seems to be enabled, but ufw itself is not active.
Any suggestions on how to further debug this issue?
debian ufw
add a comment |Â
up vote
0
down vote
favorite
I'm trying to get ufw to activate on boot on my Debian 9 server. So for, I've tried
ufw enable
and
systemctl enable ufw
but neither make ufw enabled at boot.
Any suggestions on how to make ufw active, not just enabled, on boot?
Update #1
Tried this too:
root@server:~# systemctl enable --now ufw
Synchronizing state of ufw.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable ufw
root@server:~# ufw enable
After a reboot, the ufw service is not active:
root@server:~# ufw status verbose
Status: inactive
The journalctl -x
log says this:
May 18 15:47:58 server systemd[1]: Started Uncomplicated firewall.
-- Subject: Unit ufw.service has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit ufw.service has finished starting up.
--
-- The start-up result is done.
So the service seems to be enabled, but ufw itself is not active.
Any suggestions on how to further debug this issue?
debian ufw
1
Enable the systemd serviceenable --now
and then start ufw:ufw enable
. If it doesn't come up at boot, read your journal to see why not.
â jasonwryan
May 18 at 8:11
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to get ufw to activate on boot on my Debian 9 server. So for, I've tried
ufw enable
and
systemctl enable ufw
but neither make ufw enabled at boot.
Any suggestions on how to make ufw active, not just enabled, on boot?
Update #1
Tried this too:
root@server:~# systemctl enable --now ufw
Synchronizing state of ufw.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable ufw
root@server:~# ufw enable
After a reboot, the ufw service is not active:
root@server:~# ufw status verbose
Status: inactive
The journalctl -x
log says this:
May 18 15:47:58 server systemd[1]: Started Uncomplicated firewall.
-- Subject: Unit ufw.service has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit ufw.service has finished starting up.
--
-- The start-up result is done.
So the service seems to be enabled, but ufw itself is not active.
Any suggestions on how to further debug this issue?
debian ufw
I'm trying to get ufw to activate on boot on my Debian 9 server. So for, I've tried
ufw enable
and
systemctl enable ufw
but neither make ufw enabled at boot.
Any suggestions on how to make ufw active, not just enabled, on boot?
Update #1
Tried this too:
root@server:~# systemctl enable --now ufw
Synchronizing state of ufw.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable ufw
root@server:~# ufw enable
After a reboot, the ufw service is not active:
root@server:~# ufw status verbose
Status: inactive
The journalctl -x
log says this:
May 18 15:47:58 server systemd[1]: Started Uncomplicated firewall.
-- Subject: Unit ufw.service has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit ufw.service has finished starting up.
--
-- The start-up result is done.
So the service seems to be enabled, but ufw itself is not active.
Any suggestions on how to further debug this issue?
debian ufw
edited May 18 at 13:55
asked May 18 at 8:09
protoken
62
62
1
Enable the systemd serviceenable --now
and then start ufw:ufw enable
. If it doesn't come up at boot, read your journal to see why not.
â jasonwryan
May 18 at 8:11
add a comment |Â
1
Enable the systemd serviceenable --now
and then start ufw:ufw enable
. If it doesn't come up at boot, read your journal to see why not.
â jasonwryan
May 18 at 8:11
1
1
Enable the systemd service
enable --now
and then start ufw: ufw enable
. If it doesn't come up at boot, read your journal to see why not.â jasonwryan
May 18 at 8:11
Enable the systemd service
enable --now
and then start ufw: ufw enable
. If it doesn't come up at boot, read your journal to see why not.â jasonwryan
May 18 at 8:11
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f444535%2fdebian-how-to-make-ufw-active-at-boot%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Enable the systemd service
enable --now
and then start ufw:ufw enable
. If it doesn't come up at boot, read your journal to see why not.â jasonwryan
May 18 at 8:11