LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-25-2004, 12:47 AM   #1
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Rep: Reputation: 15
Question Lan authontication-(win client, linux server)


Hi,

I have a LAN of 10 pc running on windows 2k and 3 pc on win-98. I want those client PC to access internet through a centralized LAN authorization system. I want to deploy a linux box (redhat 9.0) for this purpose, and as if all pc need to put there username and password to this server to use internet.

How can I work it out ? I need total idea to implement it.

The best will be, if I can assign user with a time limit on (like, 30 minute a slab)

Thnx in advance.
 
Old 03-25-2004, 01:47 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
squid proxy . read it config file /etc/squid/squid.conf
 
Old 03-25-2004, 01:53 AM   #3
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
hmm..i think u also ill need NAT. squid doesnt support pop3 and smtp protols. if your client will acces email servers, u need to use NAT. iptables is used for NAT. u can find some how-to at www.netfilter.org
also u can use both NAT and squid with transparent proxy.
 
Old 03-25-2004, 02:23 AM   #4
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Original Poster
Rep: Reputation: 15
Thnx for the reply. well, squid proxy ; can you share me some idea? when user will attempt to access internet, how it will ask for the username and password ?

or before use internet .. user need to enter proxy server address to browser..then able to browse and mail..etc. ?

thnx.
 
Old 03-25-2004, 04:30 AM   #5
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
i use squid and iptables together. i prefer transparent proxy. my squid allow every client. we want freedom i prefer squid because it has a cache and a log fie. i use iptables (SNAT) for other ports access (pop3 smtp ftp https ssh etc..).

if u dont want to configure browser of clients, u have to use transparent proxy. iptables can redirect incoming http requests from LAN to squid port. u must also add some lines into squid.conf for transparent proxy. but i dont know if transparent proxy will work with http auth.. i didnt try it b4. check www.squid-cache.org

if u want transparent proxy, do the followings
redirect port 80 to port 3128 (squid default port) if it comes from LAN (192.168.0.0/255.255.255.0)

iptables -t nat -A PREROUTING -s 192.168.0.0/24 -p tcp --dport 80 -j REDIRECT --to-port 3128

these lines must be added in squid.conf

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
 
Old 03-26-2004, 06:11 AM   #6
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Original Poster
Rep: Reputation: 15
what i actually wanted to provide my user with a dialup like authontication.
user will prompted for entering for user name and password, thus, allowed to use those service.

what to do?

thnx.
 
Old 03-26-2004, 07:42 AM   #7
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
sorry, i dont know any software that u exactly want.
i will ask my friends if they know a software like that..

u can search linux softwares at www.freshmeat.net
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
internet sharing, linux client, win server... huzzzo Linux - Networking 3 08-21-2005 02:30 PM
mixed lan (client win + linux) qustion teo Linux - Networking 3 10-31-2003 09:00 AM
Win XP client on LAN can't find Linux server mournblade Linux - Networking 10 06-26-2003 03:54 PM
Linux SAMBA Server - Win 2000 Client anja Linux - Networking 6 04-07-2003 07:30 PM
CVS client Linux and server on Win 2000 ina Linux - Software 2 02-07-2003 10:27 AM


All times are GMT -5. The time now is 02:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration