Edit ClearOS content filter from terminal
Hi there, I am in dire need of help with my proxy's content filter. The content filter didn't seems to be working yesterday as I had set items like pornography in the black list and phrase lists. My sensitivity I had put to high and my filter mode was set to filter and yet the proxy still allows you to browse through to porn. So I set the mode to banned and now I can't even log into the proxy via the web login because one of the black list items or phrases was proxy servers.
Is there a way I can change the filter mode from the terminal? and what command would I use? Thanks |
Run the following command on your ClearOS machine to add the required rule temporarily:
Code:
# iptables -t nat -I PREROUTING -s <IPADDRESS> -p tcp --dport 80 -j ACCEPT Code:
# service firewall restart |
Thanks for the reply Satyaveer Arya, I ran
[CODE]# iptables -t nat -I PREROUTING -s <IPADDRESS> -p tcp --dport 80 -j ACCEPT[/CODE but I still can't login via the web interface. How do I do that? or manually change the filter mode through the filter? Thanks |
Can you login into runlevel 1?
|
Thanks guys for your help but I had to get a local guy to fix it. He logged in with ssh and created a tunnel, he then changed the setting I was trying to get at and I am now up and running.
Thanks |
Now your problem has been fixed, so please mark your thread as SOLVED. :)
|
All times are GMT -5. The time now is 09:25 AM. |