Advertisement

03.12.2001 at 02:55PM PST, ID: 20090552
[x]
Attachment Details

File server bhind a firewall - complex

Asked by eofek in Linux Networking

Tags: linux, masquarding, access, bhind

Here is the story:
( It's long & comlex but I am giving lot's of points, and will increase  for a good answer that will work)

I will begin by telling about what I
am trying to acomplish, then I will
describe my environment in detail,
then explain What I did by myself and what's
the current problems.
this is because I might approuched the whole thing wrong ...

What am I tring to do:
-------------------------
My Company has a big & complex network,
With many routers, dns servers etc.

I have a file server, and I want to put it behind
a firewall whithin the network, so I can limit
access to it to certain people from specific workstation.

Technical details - Enviroment:
----------------------------------

The big network has many routers.
The company admins, supplied my department with a router,
where his IP is 129.17.254.1
I am allowed to define new computers in my segment
with IP in the format: 129.17.*.*

Most of the workstations in my department are using:
129.17.1.*, 129.17.10.*, 129.17.20.*
No one is using 129.17.70.*

I have:
1 File server, OS Won 2k server, 1 Net card.
1 fire wall server Pentium II, OS Linux Red Hat 7, 2 Net cards.

What I did:
-------------

The firewall:
I have done most of the work with netconf utility.
I gave eth1 the IP 129.17.254.11, Net mask 255.255.255.0
and connected to a socket of the big network on the wall.
I gave the other net card eth0 IP 129.17.70.1 ,Net mask 255.255.0.0
( I tried 255.255.255.0, which also works but causes redirection
 on the 129.17.254.1 gateway)
and connected it to the file server net card with a cross cable.
set the dns to 201.1.4.1 which is one of the dns in the big network.
Also marked the X which says to use the dns.
I set the default gateway of the firewall as 129.17.254.1
I enabled the X in the default getway settings.
I Enabled the forward chain in the firewall
And created the following rules,
All ACCEPT, MASQUARDING, By - directional:

from 129.17.70.0, Mask 255.255.255.0, to 129.17.254.11, Mask 255.255.255.0
from 129.17.70.0, Mask 255.255.255.0, to 201.1.4.1 , Mask 255.255.255.255


I gave the file server the IP 129.17.70.11
set the default gateway to: 129.17.70.1
set dns to 201.1.4.1

Here what goes:
-----------------
From the fire wall, I can ping all the network and the file server.

From the file server, I can ping the firewall and all the 129.17.*.*
network, and the dns server.

From both, I can only ping IP numbers, not names, as if the dns doesn't work well.

From a simple workstation, IP 129.17.20.10, I can ping 129.17.254.1,
129.17.254.11, 129.17.70.1 and 129.17.20.* and 129.17.10.* ...
But I cannot ping 129.17.70.11 ( the file server)

What I need:
-------------
I need that all workstations with ip 129.17.20.* or 129.17.10.* will be able
to acces the file server, but no one else. ( doesn't work)

I need the file server to be able to access 129.17.*.*  (which is OK now)

I need a backup server from 129.18.*.* to be able to access the server. ( doesn't work)

I need the firewall & fileserver to work OK with DNS ( doesn't work now)

Someone told me to try ipmasqadm, but all I could do with it is make other computers
wotk with some services like ftp, www on the file server 129.17.70.11, while they are doing
ftp 129.17.254.11 ,
by doing :
ipmasqadm portfw -a -P tcp -L 129.17.254.11 21 -R 129.17.70.1 21

On the firewall. but it's no good, because I need the users to acces shares on
the file server normally using explorer ...

What do I need to do to make this thing work !?!?!
Please email me to e-ofek@infomall.co.il
if you have any questions ...

Thanks,

Eli.Start Free Trial
 
Loading Advertisement...
 
[+][-]03.13.2001 at 03:26AM PST, ID: 5923947

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.14.2001 at 07:04AM PST, ID: 5928378

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.14.2001 at 10:34AM PST, ID: 5929197

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.14.2001 at 10:50AM PST, ID: 5929219

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.14.2001 at 01:59PM PST, ID: 5929766

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.15.2001 at 12:30PM PST, ID: 5933052

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.16.2001 at 03:16AM PST, ID: 5934556

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.16.2001 at 04:54AM PST, ID: 5934789

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.16.2001 at 07:15AM PST, ID: 5935240

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.16.2001 at 12:29PM PST, ID: 5935928

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.16.2001 at 12:36PM PST, ID: 5935945

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.16.2001 at 12:39PM PST, ID: 5935952

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.16.2001 at 03:53PM PST, ID: 5936372

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.18.2001 at 01:50PM PST, ID: 5939265

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.19.2001 at 11:53AM PST, ID: 5941389

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.22.2001 at 01:07PM PST, ID: 5950943

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.23.2001 at 07:31AM PST, ID: 5953044

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.23.2001 at 07:44AM PST, ID: 5953090

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.23.2001 at 03:51PM PST, ID: 5954101

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.25.2001 at 04:13AM PST, ID: 5956466

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.25.2001 at 01:29PM PST, ID: 5957328

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.25.2001 at 02:04PM PST, ID: 5957384

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.26.2001 at 10:01AM PST, ID: 5959687

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Linux Networking
Tags: linux, masquarding, access, bhind
Sign Up Now!
Solution Provided By: vsamtani
Participating Experts: 4
Solution Grade: A
 
 
[+][-]03.29.2002 at 12:24PM PST, ID: 6905658

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.30.2002 at 10:54AM PST, ID: 6907587

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.30.2002 at 10:54AM PST, ID: 6907588

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.21.2003 at 12:54AM PST, ID: 9795556

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.21.2003 at 03:18AM PST, ID: 9796116

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.21.2003 at 01:10PM PST, ID: 9799973

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.24.2003 at 02:43AM PST, ID: 9809538

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32