Hi,
I am new to the world of firewalls and ip fitler.
I have the following setup.
A----------B---------C-------D
| |
| |
Internet X Internet Y
| |
| |
--------------F---------------
Where A, B, C, D, E and F are Workstations (a Unix
flavor) running IP Filter.
Interfaces: (private)
AB = 192.168.1.1/24
BA = 192.168.1.2/24
BC = 192.168.2.1/24
CB = 192.168.2.2/24
CD = 192.168.3.1/24
DC = 192.168.3.2/24
Interfaces: (public)
A-Internet X = 150.150.150.1/24
Internet X-A = 150.150.150.2/24
F-Internet Y = 50.50.50.50.1/24
Internet Y-F = 50.50.50.50.2/24
Assume the Internet X and Internet Y cannot route
192.168.X.X addresses but can ofcourse route to A and
D nodes via 150.X addresses.
Now, I want to open a socket TCP or UDP to communicate
with nodes A, B, C, and D from F. How do I setup IP
filter on my nodes(i.e. A/B/C/D) so that packets from
F are mapped to the private addresses? I realize that
I would have to use the dst addr of A or D from F in
the socket but how will the rules of ip filter look
like on A and D to accomplish this? Also, I would
like to be able to do this with multiple sockets. I
was thinking of perhaps assining a range of ports to
each node. That is, B gets 3000-4000 and D gets
4001-5000 and A and D map these ports to B or D. How
do I configure Ip filter to do something like this, if
this makes sense?
Next, I want to be able to ftp from F to B or C as
well. I am not sure if ip filter makes sense here?
If it does not does anyone know of a way where I can
ftp to A first and then connect to another host from
there (i.e. B or C) and then do the actual file
transfer?
Any help is greatly appreciated!!!
Cheers,
Vinay
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com