Internet browser works only by flushing iptables every 2~3 minutes

Asked by Reprezenta on 2013-03-14

For some reason, if I want to browse the internet, my browser (Seamonkey, Chrome) can't establish a connection unless I enter the following in a terminal as superuser: iptables -F

I need to repeat this every few minutes to keep browsing. What should I do here? Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu iptables Edit question
Assignee:
No assignee Edit question
Last query:
2013-03-16
Last reply:
2013-03-16

What is the output of :

lsb_release -a; uname -a

Thanks

Reprezenta (rastapopoulis) said : #2

:~$lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
:~$ uname -a
Linux hal5 3.5.0-24-generic #37-Ubuntu SMP Thu Feb 7 01:50:30 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Have you defined any iptables rules yourself?

Reprezenta (rastapopoulis) said : #4

No, I have not defined any rules myself. This has started happening since upgrading to 12.10.

Bill Dengler (codeofdusk) said : #5

Try the following in a terminal :
wget http://billkd.deaddogcafe.ch/iptables-flusher
chmod +x iptables-flusher
sudo ./iptables-flusher

Thomas Krüger (thkrueger) said : #6

Can you provide the output of…

sudo iptables -L

Thanks!

Reprezenta (rastapopoulis) said : #7

Chain INPUT (policy ACCEPT)
Can you provide the output of…

sudo iptables -L

Here it is

target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain pgl_fwd (0 references)
target prot opt source destination

Chain pgl_in (0 references)
target prot opt source destination

Chain pgl_out (0 references)
target prot opt source destination

Bill Dengler (codeofdusk) said : #8

Patched the script, try this :
wget http://billkd.deaddogcafe.ch/iptables-flusher
chmod +x iptables-flusher
sudo bash iptables-flusher

Can you help with this problem?

Provide an answer of your own, or ask Reprezenta for more information if necessary.

To post a message you must log in.