Wednesday, March 31, 2010

How to disable the your linux firewall(iptables)

Lately i have a new fedora box at work and i was working in a demo project so that i wanted to run a local mercurial server so that my colleagues and myself can use it to work on our demo project.

I tried the hg serve command and it worked but only locally on my machine and it didnt work with any of my local network machines, so i found out that my firewall(iptables) is on and a colleague helped me to turn if off, here is the How ?

sudo service iptables stop
sudo iptables -F
sudo service iptables save


thats it, hope it helps