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

Asked by Reprezenta

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:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of :

lsb_release -a; uname -a

Thanks

Revision history for this message
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

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Have you defined any iptables rules yourself?

Revision history for this message
Reprezenta (rastapopoulis) said :
#4

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

Revision history for this message
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

Revision history for this message
Thomas Krüger (thkrueger) said :
#6

Can you provide the output of…

sudo iptables -L

Thanks!

Revision history for this message
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

Revision history for this message
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.