LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-02-2003, 05:32 PM   #1
guerilla fighta
Member
 
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62

Rep: Reputation: 15
Suse firewall and custom iptables rules


Im having problems trying to use my custom iptables firewall rules. The rules themselves work fine; there is no problem with them, its just the effect that its having on my system. After Ive ran the scripts, Konqueror will take ages to load, which is strange because it usually takes only a couple of seconds.

First of all I thought it was a problem with Suse's personal firewall, which I disabled, and tried running my firewall script again. I got the same problems.
Then I thought it might be that I had checked the 'protect from internal network' and 'protect network services' (or whatever they're called) boxes when setting up the personal firewall, I unchecked these and disabled the personal firewall and ran the script again. Still I get the same problems.

Im not sure why Konqueror becomes so slow to load when I load iptables rules into the kernel ?

Dont suppose anyone could help me out on this one ??
 
Old 01-05-2003, 08:44 AM   #2
guerilla fighta
Member
 
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62

Original Poster
Rep: Reputation: 15
Its ok, I managed to solve the problem. It was nothing more than an error on my behalf - I forgot to add some rules to deal with the Loopback address (127.0.0.1), so thats why Konqueror wouldnt start/was very slow to load.

So, if your writing your own custom firewall rules, remember: you need rules to deal with the loopback address - otherwise you end up with stupid problems like mine

Adding a rule, something along these lines, will solve the [dumb] problem described above:

# create a new chain called LOOPBACK
iptables -N LOOPBACK
# Allow ALL connections to the LOOPBACK addy (127.0.0.1) -- VERY IMPORTANT
iptables -A LOOPBACK --dst 127.0.0.1 -j ACCEPT
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Iptables, Firewall rules. Can anybody help ? ZliTroX Linux - Networking 9 09-06-2004 05:48 PM
Setting up custom rules in SuSEfirewall2 on SuSE 9.1 jon_nxt Linux - Networking 0 05-28-2004 04:28 AM
iptables firewall rules not surviving reboot BurceB7 Linux - Newbie 3 03-11-2004 12:45 PM
Firewall Rules Problem with Iptables JereBear Linux - Networking 1 06-16-2002 05:28 PM
Firewall Rules for daemons (Iptables) robeb Linux - Security 5 05-31-2002 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration