Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.
Collaborate in the cloud with Office, Exchange, SharePoint, and Lync
|
|||||||
Collaborate in the cloud with Office, Exchange, SharePoint, and Lync
deleting rules on chains
|
|
Thread Tools | Search this Thread |
|
#1
|
|||
|
|||
|
deleting rules on chains
Hi,
I would appreciate a response concerning this problem on my firewall machine I found out that some rules are already set on chains I flushed the chains, set my new rules and reboot the machine. typing iptables -L brought out the rules and userdefined chains I had already deleted. I have to cat /etc/sysconfig/iptables|iptable-restore before I can get my set rules. If I type iptables -L I will get my set rules, rebooting the m/c and typing iptables -L brings up the flushed rules again. I just noticed that if I do not reboot, I have my rules. But if do I have the old rules If i "cat /etc/sysconfig/iptables|iptable-restore I have my new rules However, if i type iptables -L without "cat /etc/sysconfig/iptables|iptable-restore I will end up with the old rule unless I firsts cat /etc/sysconfig/iptables|iptable-restore I would not be getting my new rules I feel this can bring up problem ! Do I need to do re installation? or what are your sugg.
|
|
#2
|
||||
|
||||
|
You can flush the chains, and delete all rules by using
iptables -F if you just wanna delete INPUT chain, use iptables -F INPUT or iptables -F FORWARD etc.. That will get rid of all rules under that chain. |
![]() |
| Similar Topics | ||||
| Topic | Replies | Forum | ||
So many rules
|
0 | Introduce yourself | ||
Followed the 8 rules, but didn't work until..
|
2 | Virus and Malware Removal | ||
Forum Rules
|
6 | General Discussion | ||
XP Home OEM Rules
|
9 | Windows OS | ||
Alice in Chains singer found dead
|
10 | General Discussion | ||
| Thread Tools | Search this Thread |
|
|
All times are GMT -4. The time now is 12:32 PM.



So many rules