-
basic firewall rules for iptables
hello,
while it is pretty easy to configure an ADSL/pppoe connection, there is no rules for iptables.
It would have make sense to set up a basic firewall while configuring an adsl connection, would'nt it ?
And furthermore, maybe i'am wrong but when i save my KNOPPIX configuration it does _not_ include the /var/lib/iptables/active and /var/lib/iptables/inactive files. Hey the /var/lib/iptables dir does not even exist by default. You have to create it !!
for example
Code:
# Generated by iptables-save v1.2.9 on Fri Feb 20 14:00:16 2004
*filter
:INPUT ACCEPT [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [474:71447]
:firewall - [0:0]
-A INPUT -j firewall
-A firewall -m state --state RELATED,ESTABLISHED -j ACCEPT
-A firewall -i ! ppp0 -m state --state NEW -j ACCEPT
-A firewall -j DROP
COMMIT
# Completed on Fri Feb 20 14:00:16 2004
-
Senior Member
registered user
Re: basic firewall rules for iptables

Originally Posted by
zebul666
hello,
while it is pretty
easy to configure an
ADSL/pppoe connection, there is no rules for iptables.
It would have make sense to set up a
basic firewall while configuring an adsl connection, would'nt it ?
And furthermore, maybe i'am wrong but when i save my KNOPPIX configuration it does _not_ include the /var/lib/iptables/active and /var/lib/iptables/inactive files. Hey the /var/lib/iptables dir does not even exist by default. You have to create it !!
for example
Code:
# Generated by iptables-save v1.2.9 on Fri Feb 20 14:00:16 2004
*filter
:INPUT ACCEPT [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [474:71447]
:firewall - [0:0]
-A INPUT -j firewall
-A firewall -m state --state RELATED,ESTABLISHED -j ACCEPT
-A firewall -i ! ppp0 -m state --state NEW -j ACCEPT
-A firewall -j DROP
COMMIT
# Completed on Fri Feb 20 14:00:16 2004
Hi,
feel free to send a patch to [email protected] for saveconfig ...
The sources can be found on: http://developer.linuxtag.net/knoppix/
cu
Fabian
-
Hi Fabianx, I have done an firewall script generator in Xdialog for Kurumin, he works like an wizard: ask some questions and afther that generate the firewal script.
http://www.guiadohardware.net/linux/...irewall-ativar
-
Senior Member
registered user
looks like a worthy addition to the CD...
-
Junior Member
registered user
I agree.
While a firewall script isn't so necessary for just booting Knoppix from the CD drive... AFTER A HD INSTALL it would make perfect sense to have one already set up.
I know a few people who are clusers (clueless users) who have HD installs, and there is no firewall set up for them by default.
As far as Knoppix install is concerned, it has to be the easiest Linux install I have ever done. So two thumbs up....!
Now for this firewall please.........
Similar Threads
-
By DieselDriver in forum Networking
Replies: 3
Last Post: 03-03-2005, 02:44 PM
-
By lark in forum The Lounge
Replies: 1
Last Post: 03-28-2004, 03:55 AM
-
By Markus in forum Networking
Replies: 6
Last Post: 01-24-2004, 07:27 PM
-
By Dave_Bechtel in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 10-11-2003, 05:27 PM
-
By JockVSJock in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 07-14-2003, 03:39 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series
$235.99

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P
$71.49

MSI - B550M PRO-VDH WIFI (Socket AM4) AMD B550 MATX DDR4 Wi-Fi 6 Motherboard ...
$89.99

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99

ASRock IMB-X1314 LGA 1700 Intel W680 DDR4 Quad display Micro-ATX Motherboard
$351.99