SliTaz SliTaz Forum

You are not logged in.

#1 2018-04-19 06:13:25

kiviapaja
Member
Registered: 2017-05-19
Posts: 7

ufw firewall does not set - need easy firewal installation

I was installed firewall with

"tazhw setup firewall"

and i was installed ufw with

"tazpkg get-install ufw"

Then i got error, that there is not ip6tables firmware.

And ufw did not show any sign that it was OK.

I tried compile kernel, but it did not compile.

Also there was / flags open for world in funning slitaz.

What is the easiest way

to secure "slitaz-rolling.iso" installation

with firewall?

Offline

#2 2019-10-10 07:13:44

Guest
Guest

Re: ufw firewall does not set - need easy firewal installation

I've got exactly the same problem ...

#3 2019-10-13 12:24:18

cray
Member
Registered: 2019-02-03
Posts: 35

Re: ufw firewall does not set - need easy firewal installation

Before finding this treasure: Slitaz, I was using only Puppy till I got tired of it but I loved Puppy's firewall easy, preinstalled and fully automatic even with a nice icon in the lower right of the screen (taskbar/task bar?) it's the one and only thing I'm missing from Puppy in Slitaz so a few months ago I found a Puppy package made for one of its tens or hundreds of Puppy subversions, a debian one, so I used tazpkg to convert it to Slitaz but it didn't work, don't remember the error message if any, then some weeks ago I downloaded GUFW for Debian and converted it too but GUFW didn't work too so I gave up.

Offline

#4 2019-10-15 00:07:06

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: ufw firewall does not set - need easy firewal installation

Hi,

ufw provided in slitaz repos does not provide gui interface - it provides only a cli interface. I do not use ufw so cannot comment on the error you have come across.

On my system, I simply installed the package iptables from the repo and then configured two files, /etc/slitaz/firewall.conf and /etc/slitaz/firewall.sh to meet my requirements.

I. Edit firewall.conf to

1. set IPTABLES_RULES="yes"

2. if your local network address space is different to the default which is 192.168.0.0/24  and

3. if your default network interface is anything other than eth0 - otherwise you do not have to touch it.

Save the file.

II. Edit firewall.sh file and modify the iptables rules to fit your needs. If you are happy with the default settings or not sure how to edit iptables rules then leave it as it is as it will provide sufficient protection for most systems.

III. run /etc/init.d/firewall start

IV. run iptables -L command to make sure that your firewall rules are activated.

Hope this helps

Offline

#5 2019-10-16 09:05:20

Guest
Guest

Re: ufw firewall does not set - need easy firewal installation

@gdesilva - many thanks for your reply

The "iptables" package is installed.

I notice that:

-  /etc/firewall.conf exists but it's empty - should it be ?

-  /etc/firewall.sh is absent

What should I do next ?

#6 2019-10-16 17:26:16

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: ufw firewall does not set - need easy firewal installation

@mikey777

Delete the empty file firewall.conf from /etc

Install the new build for slitaz-tools

Valid files firewall.conf and firewall.sh will be installed to /etc/slitaz

Reference:

http://hg.slitaz.org/slitaz-tools/rev/769

http://hg.slitaz.org/wok/rev/696b6cd2e651

http://cook.slitaz.org/cooker.cgi?files=slitaz-tools

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]