Koozali.org: home of the SME Server

Dans Guardian on sme 7.5.1

Offline icemannz

  • **
  • 24
  • +0/-0
Dans Guardian on sme 7.5.1
« on: August 01, 2011, 05:46:20 AM »
Hi all,
I have used sme now for some time but after upgrading to version 7.5.1 and putting on Dans Guardian,
I can do longer add users to the list that are allowed to go anywhere on the internet.
I used to do it using the following commands:
config setprop squid BypassProxyFrom 192.168.2.1,192.168.2.31
config setprop squid BypassProxyTo 202.146.186.160,202.124.110.234
expand-template /etc/rc.d/init.d/masq
/etc/init.d/masq restart

This is accepted ok but when I run the last command /etc/init.d/masq restart, here is the error that I get:
[root@mail ~]# /etc/init.d/masq restart

Shutting down IP masquerade and firewall rules:         Done!

Enabling IP masquerading: Bad argument `0.0.0.0/0'
Try `iptables -h' or 'iptables --help' for more information.
done

Any help solving this would be appreciated.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Dans Guardian on sme 7.5.1
« Reply #1 on: August 01, 2011, 03:24:10 PM »
This is accepted ok but when I run the last command /etc/init.d/masq restart, here is the error that I get:
[root@mail ~]# /etc/init.d/masq restart

Shutting down IP masquerade and firewall rules:         Done!

Enabling IP masquerading: Bad argument `0.0.0.0/0'
Try `iptables -h' or 'iptables --help' for more information.
done

Any help solving this would be appreciated.


Don't report problems here
- Please report bugs and potential bugs in the bug tracker

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Dans Guardian on sme 7.5.1
« Reply #2 on: August 02, 2011, 01:07:44 PM »
Please also do not open duplicate topics, this will only scatter information. Please add all follow-ups to the this thread which is in the proper forums: http://forums.contribs.org/index.php/topic,47784.0/topicseen.html
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)