Security setting too strict
Hello! I am not a newbie in linux, but I am a newbie to linux firewall and iptables. I've been trying to mess with my firewall to make it so any/all users I desire are restricted from the internet. I haven't accomplished this, and worse, I've somehow managed to make my system so strict that programs (such as DosBox) can not even open a listening port unless they are running as root. My cups printer server can not even listen to localhost... meaning I can't print. Is there an easy way to flush my firewall completely for now? After all, I am behind a gateway, so having an open firewall isn't a huge concern right now.
I am running Debian 4. By the way, when I type the command: lsmod | grep 'iptables' it shows nothing, is this good? |
Iptables is a command and not a kernel module. The actual firewall in the kernel is called netfilter and is built in without a module of its own. However there may be netfilter kernel modules that are loaded. For example, try "lsmod | grep conntrack".
The prefix that the module uses depends on your kernel version. On my kernel they start with "nf". I find it convenient to look at an individual iptable's chain instead of an entire listing. For example: sudo /usr/sbin/iptables -L INPUT With only 6 to 10 entries it is easy to count where you want a rule inserted in that table. Sometimes a rule doesn't work because a previous rule has already handled the situation. You can insert a new rule at a certain place in the chain. Code:
-I, --insert chain [rulenum] rule-specification |
Quote:
Code:
#!/bin/sh |
All times are GMT -5. The time now is 12:14 AM. |