Open flle /etc/sysconfig/iptables:
# vi /etc/sysconfig/iptables
Append rule as follows:
-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 80 -j ACCEPT
Save and close the file. Restart iptables:
# /etc/init.d/iptables restart
I was playing with Ubuntu at work the other day and need to use wget to get some updates. But it wasn’t working because I was behind a proxy server. Now I had set the environment variables HTTP_PROXY and FTP_PROXY up so I though it should work.
But apparently that’s not all you need to do. You also need to add the following line to you ~/.wgetrc file:
http_proxy = http://donut.unet.brandeis.edu:3128/
use_proxy = on
wait = 15
I had to rebuild my Windows7 Media Center PC a little while ago, that all went OK and its working fine now. I can watch all the media OK and add new media to it from me Windows Vista PC OK. So I thought everything was OK with.
However, I built and XP laptop over the weekend for testing, and couldn’t connect to the Windows7 PC at all. It was freaking me out for a while. It all looked fine, I could connect from my VistaPC, what the heck was going on!
So, as you do I turned to Google for the answer. I found the answer at Windows7 Forums.