Heh, to stop firewall:
create a script and put following lines:
Code:
vi /root/firewall.stop
Append following
Code:
#!/bin/bash
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
Save the script and setup executable permissions:
Code:
chmod +x /root/firewall.stop
Now run script and your firewall will stop:
Code:
/root/firewall.stop
To start/stop/restart squid (Debian and others do not use service command):
Code:
/etc/init.d/squid restart
Rest stuff is same