Results 1 to 5 of 5

Thread: basic firewall rules for iptables

  1. #1
    Junior Member
    Join Date
    Feb 2004
    Posts
    2

    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

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    297

    Re: basic firewall rules for iptables

    Quote 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 debian-knoppix@linuxtag.org for saveconfig ...

    The sources can be found on: http://developer.linuxtag.net/knoppix/

    cu

    Fabian

  3. #3
    Member registered user
    Join Date
    Jan 2003
    Posts
    44
    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

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Europe
    Posts
    148
    looks like a worthy addition to the CD...

  5. #5
    Junior Member registered user
    Join Date
    Mar 2004
    Posts
    27
    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

  1. iptables configuration
    By DieselDriver in forum Networking
    Replies: 3
    Last Post: 03-03-2005, 02:44 PM
  2. Konqueror Rules!
    By lark in forum The Lounge
    Replies: 1
    Last Post: 03-28-2004, 03:55 AM
  3. Need help with iptables
    By Markus in forum Networking
    Replies: 6
    Last Post: 01-24-2004, 07:27 PM
  4. IPtables script, submitted for consideration
    By Dave_Bechtel in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 10-11-2003, 05:27 PM
  5. QTParted Rules!!!
    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
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$89.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs picture

CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs

$246.67



Dell Poweredge XC730xd 3.5 2x E5-2690 v3 2.6ghz 64gb JBOD 12x Trays 2x1100w picture

Dell Poweredge XC730xd 3.5 2x E5-2690 v3 2.6ghz 64gb JBOD 12x Trays 2x1100w

$239.99



DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY picture

DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY

$329.00



Dell R730 8B LFF 2x 2.40GHz 14C Intel Xeon E5-2680 v4 32GB RAM 2x 3TB HDD HBA330 picture

Dell R730 8B LFF 2x 2.40GHz 14C Intel Xeon E5-2680 v4 32GB RAM 2x 3TB HDD HBA330

$299.99



Dell Poweredge R620 8-Bay CTO Pick your CPU & RAM Config | H710 Raid | 2x PSU picture

Dell Poweredge R620 8-Bay CTO Pick your CPU & RAM Config | H710 Raid | 2x PSU

$209.99



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



Dell Poweredge R640 8 SFF Server No HDDs/ CPUs/ RAMs/ Cards/Fan/PSU picture

Dell Poweredge R640 8 SFF Server No HDDs/ CPUs/ RAMs/ Cards/Fan/PSU

$419.99