Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-14-2005, 01:32 PM
|
#1
|
LQ Newbie
Registered: Jan 2005
Location: Italy
Distribution: Slackware
Posts: 18
Rep:
|
Linux router configuration questions
Hello everybody
I have a small LAN to manage, 23 machines running various flavours of windows. Time ago I added to the LAN a linux box running slackware to provide internal mail and web services. Also I'm using Samba on the linux box to work it as a file server for the windows clients. No authentication anyway, just shared folders. Now we're about to go broadband, and we need a little more control on the traffic and navigation. Present day all the machines on the LAN are connected to a hub, which is also connected to our exit router. The structure is very simple, as you can see. Now I wish to reconfigure the whole thing to fit the new needs. I'm asking the networking experts here if what I have in mind can be done: I want to use the linux box as a gateway to the router. I want to do something like this:
( LAN ) -> (Linux router) -> (Gateway router) -> ISP -> Internet
The linux router should provide authentication, since we want to be able to block the navigation of some users. The machines on the LAN have to remain windows clients, sadly. To make a long story short, the only box that should be able to access the ISP via the gateway should be the linux box. Now I'm asking:
1) Can this be done?
2) Can some networking expert please tell me how to set up things in a tidy way? I think I have to switch on IP masquerading on the linux box, make all the windows clients point to it as a gateway, and set the exit route of the linux box to the gateway router's IP. Am I correct?
3) Since all my clients are running windows, can Samba handle the authentication so that we can switch on and off the navigation on certain users?
Thanks in advance and thanks for reading all this. I tried to be as complete as possible.
|
|
|
01-14-2005, 02:13 PM
|
#2
|
LQ Newbie
Registered: Jan 2005
Posts: 6
Rep:
|
Hi there,
I think you have the answer and if you want to go for it we can go further
this is my opinion, no need to apply it
1 - you can set up the linux box, it up as a router/gateway
2- use nat/iptable
- then you will configure samba for authentication
- Hopefully , this is usefull to you
Tachou
|
|
|
01-15-2005, 04:03 AM
|
#3
|
LQ Newbie
Registered: Jan 2005
Location: Italy
Distribution: Slackware
Posts: 18
Original Poster
Rep:
|
Thanks for the info, Tachou
Quote:
- then you will configure samba for authentication
|
How can I do that? I'm not very into windows net configuration, so I can only guess. Maybe I must set-up a domain and have the box running Samba be the domain controller?
Thanks again,
|
|
|
01-19-2005, 01:06 PM
|
#4
|
LQ Newbie
Registered: Jan 2005
Posts: 6
Rep:
|
Sorry about that, was busy take care of my server. How are you doing? still need help? If you don't mind send me an email at eustache111 at yahoo dot com and explain in more detail what you trying to do.
- is your gateway/firewall in redhat?
- do you want the Samba to authenticate the user?
-for the samba config file, do you have different security level ( adm , customer, guest)?
I will send you a tutorial
===================================
- firewall/ iptable
- DHCP/NAT
-smb.conf
take care
|
|
|
01-26-2005, 01:09 PM
|
#5
|
LQ Newbie
Registered: Jan 2005
Location: Italy
Distribution: Slackware
Posts: 18
Original Poster
Rep:
|
Quote:
Originally posted by tachou
Sorry about that, was busy take care of my server. How are you doing? still need help? If you don't mind send me an email at eustache111 at yahoo dot com and explain in more detail what you trying to do.
|
Thanks for the kind answer.
Quote:
- is your gateway/firewall in redhat?
|
No, it's a slackware machine, connected with an isdn (dsl in a while) router
Quote:
- do you want the Samba to authenticate the user?
|
Yes that's the idea. I'm deep into Samba howto's now to choose the right method.
Quote:
-for the samba config file, do you have different security level ( adm , customer, guest)?
|
Yes it would be nice to. We need to provide different services to different users.
Last edited by NoWone; 01-26-2005 at 01:11 PM.
|
|
|
All times are GMT -5. The time now is 06:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|