You are not logged in.

#1 2013-11-29 12:21:46

crankshaft
Member
Registered: 2013-04-29
Posts: 20

UFW Refuses to start on boot

Have installed and un-installed several times, get the same result every time, UFW won't start on bootup.

# ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup
# ufw status
Status: active

To                         Action      From
--                         ------      ----
22                        ALLOW       Anywhere
10000                      ALLOW       Anywhere
1723                       ALLOW       Anywhere
22                        ALLOW       Anywhere (v6)
10000                      ALLOW       Anywhere (v6)
1723                       ALLOW       Anywhere (v6)

#reboot

After reboot:

# ufw status
Status: inactive

Also, "systemctl enable ufw" does not fixit.

What am I doing wrong ??

Thanks

PeterC

Offline

#2 2013-11-29 12:32:13

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: UFW Refuses to start on boot

What was the output of "systemctl enable ufw"?

What does the journal tell you is happening?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2013-11-29 12:48:33

crankshaft
Member
Registered: 2013-04-29
Posts: 20

Re: UFW Refuses to start on boot

Hi,

Many thanks for helping, here's the output:

# systemctl enable ufw
# systemctl start ufw
# systemctl status ufw
ufw.service - CLI Netfilter Manager
   Loaded: loaded (/usr/lib/systemd/system/ufw.service; enabled)
   Active: active (exited) since Fri 2013-11-29 12:21:21 UTC; 24min ago
 Main PID: 125 (code=exited, status=0/SUCCESS)

Nov 29 12:21:21 systemd[1]: Started CLI Netfilter Manager.
Nov 29 12:45:30 systemd[1]: Started CLI Netfilter Manager.
# ufw status
Status: inactive

status suggests it started successfully and exited 0 ?!

Offline

#4 2013-11-29 16:21:18

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: UFW Refuses to start on boot

Did you check this thread and eliminate the issue described as being the cause?

https://bbs.archlinux.org/viewtopic.php?id=169846


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

Board footer

Powered by FluxBB