PDA

View Full Version : need help with ubuntu_ce_firewall



lig_15
November 9th, 2010, 08:25 PM
I can not connect to my mysql server which is running dansguadian from ubuntu ce, however, if I run:

/etc/init.d/ubuntu_ce_firewall stop

I can connect to mysql but dansguardian stops working

any ideas?

lig15
November 10th, 2010, 04:10 AM
nevermind I figured it out and in doing so I learned alot about iptables

iptables -A INPUT -p tcp --dport 3306 -m state --state NEW -j ACCEPT

is what allowed me access

in an unrelated topic do you know if adding

iptables -A INPUT -i eth0 -j ACCEPT

to ubuntu_ce_firewall would cause any damage? it does not seem to stop the web filtering

david_kt
November 10th, 2010, 05:04 AM
nevermind I figured it out and in doing so I learned alot about iptables

iptables -A INPUT -p tcp --dport 3306 -m state --state NEW -j ACCEPT

is what allowed me access

in an unrelated topic do you know if adding

iptables -A INPUT -i eth0 -j ACCEPT

to ubuntu_ce_firewall would cause any damage? it does not seem to stop the web filtering

It will open all ports on eth0.

DK