Koozali.org: home of the SME Server

restrict user internet access

williel

restrict user internet access
« on: November 24, 2006, 10:48:00 AM »
Hi

I have changed the default settings to ask for username and password when a user whant to access the internet, but some of the users I would like to set that it cannot access the internet.

I use it as a mail server as well, so I cannot delete or disable the user.

Can someone please assist.

Thanks

Offline cjensen

  • *
  • 133
  • +0/-0
    • http://acenet-tech.org
restrict user internet access
« Reply #1 on: November 25, 2006, 07:08:19 AM »
Quote
I have changed the default settings to ask for username and password when a user whant to access the internet


So you added user internet access restrictions???  And you now want to allow some that were restricted?

What did you use to restrict them?

Not enough information to help you...

Craig

williel

restrict user internet access
« Reply #2 on: November 25, 2006, 07:17:20 AM »
Hi

I have added a scrpit to ask for authentication, to access the internet, but some of that users I would like to restrict access even when entering the password

Offline cjensen

  • *
  • 133
  • +0/-0
    • http://acenet-tech.org
restrict user internet access
« Reply #3 on: November 25, 2006, 07:31:26 AM »
Dansguardian will do what you want.

Craig

williel

restrict user internet access
« Reply #4 on: November 30, 2006, 09:24:28 AM »
where can I find it, because on dansguardian.org I found rpm's but non of them are for SME 7?

I have tried downloading the one for redhat 9 but it need a zlib-devel and compat-libstdc++ packages.

Please remember I am a newbie.

Thanks

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
restrict user internet access
« Reply #5 on: November 30, 2006, 09:30:27 AM »
Quote from: "williel"
where can I find it, because on dansguardian.org I found rpm's but non of them are for SME 7?

I have tried downloading the one for redhat 9 but it need a zlib-devel and compat-libstdc++ packages.

Please remember I am a newbie.

Thanks
Check the dungog repository: www.dungog.net.
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)

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
restrict user internet access
« Reply #6 on: November 30, 2006, 09:40:29 AM »
Or, consider purchasing the commercial version released by Dungog, I know I should not make free advertizing here, but Dans can be a bit daunting (as I found out...(':cry:'), the interface provided by Dungog in their package is well worth the investment. Plug and play, almost...
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
restrict user internet access
« Reply #7 on: November 30, 2006, 10:43:30 PM »
williel

Try this contrib out ... you can block users by ip address as well as dump the cache and bypass cache for particular domains.

http://www.cooltemp.com.au/smefiles/smeserver-squidproperties-1.0.0-01.noarch.rpm

With this contrib you have to nominate the IP you want to block ... there is another contrib out there that blocks all IP's and you have to nominate the IP you want to allow.

http://www.vanhees.cc/modules.php?op=modload&name=CmodsDownload&file=index&req=viewdownloaddetails&lid=307&ttitle=smeserver-squid_restrict_ip-1.0-1.noarch.rpm

Regards,

Tib

williel

restrict user internet access
« Reply #8 on: January 05, 2007, 12:06:28 PM »
Hi

Is there a way to rather block the user than the PC's IP, as the each user do not have their own PC?

thanks

Offline bcliburn

  • **
  • 41
  • +0/-0
restrict user internet access
« Reply #9 on: January 07, 2007, 01:08:13 AM »
I know that you could do that on an earlier version of Dan's Guardian, configure user access by username and or IP.  Each computer would need an Ident server.  I am sure it's possible with the latest version of Dan's Guardian that I have (2.9.8.0) but I haven't figured out how yet.
The Ident Server I use is called 'DGTIdent'

I got that version of DG for SME7.0 by adding the dungog repository and installing it via the SME GUI installer and it has worked perfectly (Except for the user ident part)

Offline cjensen

  • *
  • 133
  • +0/-0
    • http://acenet-tech.org
restrict user internet access
« Reply #10 on: January 07, 2007, 04:36:00 AM »
Install DG, then use this how-to:
http://www.vanhees.cc/index.php?module=ContentExpress&func=display&ceid=40&meid=

Use the "pam" option.  Then your SME users authenticate with their personal login so you can restrict individual users.

Craig

Offline danfulton

  • 19
  • +0/-0
restrict user internet access
« Reply #11 on: March 12, 2007, 01:22:46 PM »
Quote from: "bcliburn"

The Ident Server I use is called 'DGTIdent'


So you know where I can find DGTIdent. I can not find it on google.

Cheers

Dan

Offline raem

  • *
  • 3,972
  • +4/-0
restrict user internet access
« Reply #12 on: June 14, 2007, 05:47:15 AM »
danfulton

> ...where I can find DGTIdent

search for DGID.zip

http://dansguardian.org/downloads/michaelpike/DGID.zip


see this thread
http://forums.contribs.org/index.php?topic=24886.0
...

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
restrict user internet access
« Reply #13 on: June 14, 2007, 01:06:59 PM »
>install DG, then use this how-to:
>http://www.vanhees.cc/index.php?module=ContentExpress&func=display&ceid=40&meid=

Auth is included in smeserver-dansguardian

if you want it in the base raise a NFR and convince a dev.

[root@kiwi RPMS]# rpm -ql smeserver-dansguardian
/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramNCSA
/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramPamAuth
/etc/e-smith/templates/etc/squid/squid.conf/20ACL05ProxyAuth
/etc/e-smith/templates/etc/squid/squid.conf/20ACL06IdentAuth
/etc/e-smith/templates/etc/squid/squid.conf/39http_access00pwdprotect
/etc/e-smith/templates/etc/squid/squid.conf/39http_access01ident

config setprop squid RequireAuth foo
where foo ident/nsca/pam

expand and restart
use the proxy panel

Offline raem

  • *
  • 3,972
  • +4/-0
Re: restrict user internet access
« Reply #14 on: July 11, 2007, 05:39:41 PM »
williel & others

See the new Howto.
The current rpms support various types of auth login configured with db commands. Use Filter Groups to control access rights for different sets of users.

http://wiki.contribs.org/Dansguardian
...