Re: How to autostart ufw on system startup?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Okay, that seems to work.  Thank you!

Strange that the ufw install routine didn't do that automatically.

And yes, I do read the wiki articles, whenever I have the time, patience
and
intelligence to do so.  Which isn't easy after a very long, difficult day
of learning to install and set up Arch.

But I did want to get a firewall up and running, quicky.  There are lots of
bad guys out there these days.

Thanks again.



On Wed, Apr 15, 2015 at 10:49 PM, Sebastian M. <vevais@xxxxxxxxx> wrote:

> It does the same. Please read the wiki.
>
> Regards,
> Sebastian M.
> On Wed, Apr 15, 2015 at 10:35:42PM -0500, Francis Gerund wrote:
> > Okay, so do I do
> >
> > 1)  sudo systemctl enable ufw
> >
> > or,
> >
> > 2) sudo systemctl enable ufw.service
> >
> > or, both?
> >
> >
> >
> > On Wed, Apr 15, 2015 at 9:50 PM, Chi Hsuan Yen <yan12125@xxxxxxxxx>
> wrote:
> >
> > > Hello Francis,
> > >
> > > Just simply run the following command as root or with sudo:
> > >
> > > systemctl enable ufw.service
> > >
> > > Yen Chi Hsuan
> > >
> > > On 16 April 2015 at 10:39, Francis Gerund <ranrund@xxxxxxxxx> 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.
> > > >
> > >
>


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux