Question

Firewall: External Content Blocked

Posted August 6, 2013 11.8k views
I followed the firewall guide here: https://www.digitalocean.com/community/articles/how-to-setup-a-basic-ip-tables-configuration-on-centos-6 However, I'm not able to view images from other websites and recaptcha cannot connect to validate captcha input. http://www.google.com/recaptcha/api/verify

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
15 answers
> However, I'm not able to view images from other websites and recaptcha cannot connect to validate captcha input.

Are they on a website and you cannot access them? I'm not sure what you mean -- please elaborate
External images, so hosted on other websites, in img src tags on my website.

The recaptcha url sends a request for validation and gets a response back as to whether it matches.
The IPTables rules should not affect that. The problem is on your end - try accessing your website from another computer/network/browser. Are you mixing http/https content?
I figured it was some kind of blocked port that stopped traffic from external sources reaching my site.

My website is accessible by all.

No there is no https content.
Try deleting all of your iptables rules (as root):

iptables-save > ~/iptables_backup && iptables -F


If that doesn't fix it, iptables isn't what's causing the issue.
I get permission denied on that statement even when I sudo
Run this command then:

sudo su -c "iptables-save > ~/iptables_backup && iptables -F" root
I did

sudo service iptables stop

and the issue remains, is that the same thing as you suggested trying?
the issue of not being able to load the images*

the command worked fine
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]
Is a recaptcha-not-reachable error from the ReCaptcha.pm perl module. I've tried a number of verify URLs including

http://www.google.com/recaptcha/api/verify
http://api-verify.recaptcha.net
Previous 1 2 Next