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.
|
|
10-28-2004, 01:04 PM
|
#1
|
LQ Newbie
Registered: Oct 2004
Location: Doncaster
Distribution: SuSE 9.1
Posts: 6
Rep:
|
Firewall, Routing and Subnets - is this possible?
Hi,
I have a network providing internet access via a cable modem to a set of users. I wish to create two networks for different sets of users but still need internet access for both networks. Is it possible to put a server between the cable modem to act as a firewall, and at the same time put 3 nic's in the server to provide two subnets and to route the traffic between subnets and the internet e.g. 192.168.0.1 -> to cable modem, 192.168.1.1 to subnet A and 192.168.2.1 to subnet B? Can the server still provide SAMBA to both subnets?
Any help or suggestions will be much appreciated.
Many thanks
Andy Norman
|
|
|
10-28-2004, 01:32 PM
|
#2
|
Senior Member
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820
Rep:
|
It is totally possible. It only requires a few port forwards and a little masquerading. SMB can be forwarded across the subnets by forwarding port 139 and you can either use a proxy (squid), which I highly recommend, or simple masquerading in the firewall to handle the Internet.
|
|
|
10-28-2004, 01:34 PM
|
#3
|
Member
Registered: Mar 2004
Location: Boston, MA
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147
Rep:
|
Yes it is possible. I have that exact setup right now, 3 NIC's, firewall, and SAMBA.
Here are my suggestions:
1. Dont do everything at once.
2. Start with connecting the server to the modem.(If you don't know how to do it or configure the server with the modem do a search. There are plenty of posts on this topic. )
3. Once you get that going put in a second NIC (Internal network1). Make sure computers on that network are able to ping that NIC. Do the same with the third NIC.
4. Now you need to install or configure the firewall. I dont know if your using SuSE pro or personal but YaST has an easy firewall configuration tool that you can use. It will allow you to specify the external/internal NIC's and the desired ports and services that you want to use.
5. Once you get that going you can go off to Samba. There are several posts on how to configure samba. Do a search as well.
|
|
|
All times are GMT -5. The time now is 06:01 PM.
|
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
|
|