[URGENT] I've locked myself out.....

2 posts / 0 new
Last post
#1 Sun, 01/15/2006 - 06:33

[URGENT] I've locked myself out.....

I was attampting to do the linux firewall thing, and unfortunately checked the load at boot, and did one more thing, so I need to know how to reset the webmin linux firewall back to nothing so that the sites come up again.

right now I can't get to any sites, nor can I load up webmin or usermin.

Sun, 01/15/2006 - 21:48
Joe's picture

Hey Adam,

So you're able to get in via SSH or some other console access?

If so, simply run:

service iptables stop

Or, on SUSE, you can use yast to turn off the firewall.

You can also just add a rule for Webmin, so you can get in to work on things from within Webmin:

iptables -I INPUT -p tcp --dport 10000 -j ACCEPT

This rule allows access to TCP port 10000, and then you can use the Firewall module to add any other rules you need.

For general virtual hosting, you'll need at least 21, 22, 25, 53, 80, 110, 443, and all of the high ports (1024:65535) to be open.


Check out the forum guidelines!

Topic locked