masquerade two networks?

masquerade two networks?

Post by echo_me_b.. » Tue, 17 Aug 1999 04:00:00



I have a problem. I have a network with a Linux box (2.0 kernel Red Hat
5.1) acting
 a firewall to the internet.

On the inside of this firewall I have one private
network I'll call network "A" that has a direct connection to the linux
box.  It's packets
are masqueraded properly and anyone on that net can surf the
internet.

I have another network I'll call network "B" that connects to network
"A" through a Novell server acting as a router. People on network "B"
can see everything
on network "A" including the linux box.

They can even reach the outside address of the linux box but they
cannot reach anything
on the internet even though I set up the same
masquerading statements for their network as I did for network "A"
(i.e. ipfwadm -F -a masq -S<network_B> -D0.0.0.0/0).

Any ideas?

Keith.

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

 
 
 

masquerade two networks?

Post by Andrey Smirno » Tue, 17 Aug 1999 04:00:00


Hello,

I understand that hosts on network 'B' have Novell server (router) setup as
the default gateway?

Under this assumption you need to make sure that Novell box has Linux
machine as it's default gateway.

PS. I'm not that savvy on the Novell these days, but how can you set it up
as a router?

Good luck!


Quote:> I have a problem. I have a network with a Linux box (2.0 kernel Red Hat
> 5.1) acting
>  a firewall to the internet.

> On the inside of this firewall I have one private
> network I'll call network "A" that has a direct connection to the linux
> box.  It's packets
> are masqueraded properly and anyone on that net can surf the
> internet.

> I have another network I'll call network "B" that connects to network
> "A" through a Novell server acting as a router. People on network "B"
> can see everything
> on network "A" including the linux box.

> They can even reach the outside address of the linux box but they
> cannot reach anything
> on the internet even though I set up the same
> masquerading statements for their network as I did for network "A"
> (i.e. ipfwadm -F -a masq -S<network_B> -D0.0.0.0/0).

> Any ideas?

> Keith.

> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.


 
 
 

masquerade two networks?

Post by echo_me_b.. » Wed, 18 Aug 1999 04:00:00


To set a Novell server up as a router at the system propmpt load
inetcfg and select "Protocols", "TCP/IP" and set "IP Packet Forwarding"
to "Enabled (Router)". Then set up your routing table.

On my "B" network I have the workstations set with the Novell server
set as the gateway and on the Novell server I have a default route set
to the Linux machine. I also have a route on the Linux machine back to
the "B" network with the Novell server as the gateway. I can ping from
the "B" network all the way to the outside address of the Linux box but
I can't reach the Internet from the "B" network. But I can from the "A".

Keith



Quote:> Hello,

> I understand that hosts on network 'B' have Novell server (router)
setup as
> the default gateway?

> Under this assumption you need to make sure that Novell box has Linux
> machine as it's default gateway.

> PS. I'm not that savvy on the Novell these days, but how can you set
it up
> as a router?

> Good luck!

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
 
 
 

masquerade two networks?

Post by Julian Tibbl » Wed, 18 Aug 1999 04:00:00


Quote:> (i.e. ipfwadm -F -a masq -S<network_B> -D0.0.0.0/0).

I thought the command should be:

        ipfwadm -F -a m -S <network_B> -D 0.0.0.0/0

Does it matter whether you use 'm' or 'masq'?

Julian Tibble

 
 
 

masquerade two networks?

Post by echo_me_b.. » Wed, 18 Aug 1999 04:00:00


The man page says -m but I don't think it matters. According to
ipfwadm -F -l it says it should accept and masquerade packets for
network "B" but when I do a ipfwadm -M -l it never shows any active
masquerades for network "B". I'm stumped.

Keith.



Quote:> > (i.e. ipfwadm -F -a masq -S<network_B> -D0.0.0.0/0).

> I thought the command should be:

>    ipfwadm -F -a m -S <network_B> -D 0.0.0.0/0

> Does it matter whether you use 'm' or 'masq'?

> Julian Tibble

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
 
 
 

1. How do masquerade and set up firewall on two network interfaces?

I have two network interfaces into our LAN.  On one interface, there are
no TCP/UDP port restrictions whatsoever.  However, on another interface,
I would like to limit the number of connecting ports to about 3 or 4.

I can set up a default policy for ipfwadm input rules to deny all or
accept all.  Will I then have to DISABLE ALL but those 3-4 ports on one
interface or ENABLE ALL ports on the other interface?

How do I do this on one machine?

Thanks...

--
J. S. Jensen

http://www.paramin.com

2. how do I use headphones on powerbook g3?

3. Question: two network cards, IP masquerading, Firewall, etc.

4. time command, and $-, in Bourne shell

5. Masquerade Two Private Networks Using IPtables

6. How to delete partiton created by Mandrake?

7. Will two networks Masquerade on eth0

8. Preventing caching of images

9. two network cards, two(?) networks, one computer...

10. IP Masquerading works, but does not masquerade from within the local network

11. IP Masquerading with Bay Networks/Nortel Networks Extranet Client

12. Two Ethernet cards, two networks, now what?

13. Joining two networks through two dial-up-ing linux boxes