No Shorewall/IPtables: not inbound connections allowed
Hi,
I installed Mandriva LE 2005 on a PII 450 box. It seems to work fine but, I can't ping or ssh into the box. I can ping, ssh, ftp out of the box but, nothing is allowed in. I thought it might be shorewall so I uninstalled that. I also cleared the iptables. Still nothing. Can anyone else think of anything that would block icmp/tcp traiffic other than iptables(shorewall)? BTW the security level was set to Higher. Thanks, |
Clearing out ip table's rules has the effect of blocking all. Even from 127.0.0.1 iirc.
You can temporarily shutoff iptables (whitch will allow all) so you can re-set it up. |
1. Reinstall shorewall be enabling the firewall in the Mandrake control centre thingy
2. Are you trying to ssh into your box from the internet or from the local network? 3. Depending on your answer pick one or both of the lines below and add them to the file /etc/shorewall/rules then restart shorewall (System->Services in the Control Centre) Code:
#allow ssh & ping from the Internet - don't use unless you need it as it would expose you if a security hole is discovered in openssh Code:
#allow ssh & ping from local network |
Some more general firewall info for ya':
shorewall has probably the about best documentation of any open source project out there: http://www.shorewall.net/ I'd encourage you to use it because its literally about 10 times easier and simpler and less error prone than using iptables to do your firewalling. However if you want a GUI firewall config tool then uninstall shorewall and urpmi either firestarter or guarddog. |
All times are GMT -5. The time now is 01:06 AM. |