Results 1 to 2 of 2

Thread: Firewall Tool in 3.9

  1. #1
    Junior Member
    Join Date
    Aug 2005
    Location
    Perth, Australia
    Posts
    5

    Firewall Tool in 3.9

    I am using the GUI firewall tool that is supplied in knoppix 3.9. I want to allow incoming access to ssh and an application server on port 62856. I've set the mode to expert even though I 'm not. When I start the firewall I can't connect on the ssh or application port. Do you know what I'm doing wrong? Note, I'm not using NAT and there is no firewall in front of of the PC. Below is the contents of /etc/sysconfig/firewall.iptables

    Code:
    # internal interfaces
    iptables -A INPUT -i lo -j ACCEPT
    iptables -A OUTPUT -o lo -j ACCEPT
    
    # all outgoing
    iptables -A OUTPUT -o eth0 -j ACCEPT
    
    # SSH access
    iptables -A INPUT -p tcp -i eth0 --dport 22 -j ACCEPT
    
    # Application access
    iptables -A INPUT -p tcp -i eth0 --dport 62856  -j ACCEPT

  2. #2
    Junior Member
    Join Date
    Aug 2005
    Location
    Perth, Australia
    Posts
    5
    Ok, figured out the problem. After turning on the firewall I ran the command "iptables -L" to get a list of all the rules. I noticed that the rules I added in firewall.iptables were being appended after the DROP all rule. The solution is to insert the new rules before the DROP all rule. Just use "iptables -I" instead of "iptables -A"

    So here it is.
    Code:
    # SSH access 
    iptables -I FROMINTERNET 3 -p tcp -m tcp --dport 22 -m state --state NEW -j ACCEPT 
    
    # Application access
    iptables -I FROMINTERNET 4 -p tcp -m tcp --dport 62856 -m state --state NEW -j ACCEPT

Similar Threads

  1. Using Partition tool
    By Richard Kalp in forum General Support
    Replies: 1
    Last Post: 01-27-2008, 01:19 PM
  2. Knoppix -> USB tool
    By beerak in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 03-24-2006, 09:03 AM
  3. knoppix3.7 und isdn-tool
    By Albrecht Benz in forum German Forum
    Replies: 3
    Last Post: 02-23-2005, 09:38 AM
  4. about speedstep tool
    By lmsaga in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 04-25-2004, 11:12 PM
  5. mii-tool -F 10baseT-HD Where can I put this line?
    By FelixDzerzhinsky in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 01-27-2003, 07:02 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 C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$484.99



Dell PowerEdge R740xd Dual Intel Silver 4116 @2.1GHz 32GB HBA330 24Bay Server picture

Dell PowerEdge R740xd Dual Intel Silver 4116 @2.1GHz 32GB HBA330 24Bay Server

$525.00



Windows Server 2025 Standard Edition - 24 Core License picture

Windows Server 2025 Standard Edition - 24 Core License

$238.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w picture

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w

$238.88



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots picture

Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots

$745.00



VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack) picture

VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack)

$1599.95



DELL POWEREDGE R340 Server | Xeon E-2126G 64GB RAM PERC H330 (Onboard) picture

DELL POWEREDGE R340 Server | Xeon E-2126G 64GB RAM PERC H330 (Onboard)

$399.95