Routing issue
From: Peter Boosten (niemand_at_nergens.loc)
Date: 03/04/05
- Previous message: Marco S Hyman: "Re: pf syntax error - I can't see the problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 4 Mar 2005 08:25:07 +0000 (UTC)
All,
I have an issue with my routing:
Our network layout can be found here:
http://boosten.dyndns.org/tijdelijk/image001.gif
I manage two LANs, each connected to the internet via an OpenBSD
firewall (firewall 1 and firewall 2). These LANs are connected through a
third party VPN. This VPN only routes traffic between 192.168.2/24 and
192.168.3/24.
For that purpose I added an routing entry on both firewall 1 and 2
(because they are default gateway for anything connected to the LAN):
on firewall 1: route add 192.168.3.0 192.168.2.254
on firewall 2: route add 192.168.2.0 192.168.3.254
This works perfect for the 192.168.3/24 LANi (in short: 3-LAN). If they try to
connect to anything on the 192.168.2/24 LAN (2-LAN), the OpenBSD box redirects
them to the VPN-router.
This doesn't work however on the 2-LAN. They get replies
whenever pinging something on the 3-LAN, but connecting to
anything doesn't work.
There is however something different on the 2-LAN: there is
another LAN connected (200-LAN through 192.168.201/24). Firewall 3 is a
netscreen firewall (it has a specific purpose there).
Because some machines in the 200-LAN need access to the machines in the
3-LAN (for administrative purposes) and users in the 3-LAN need to
access machines in the 200-LAN, and our third party VPN does not
route traffic other than between the 2-LAN and the 3-LAN, I've created
some NAT-rules on firewall 1 ($int_if = 192.168.2.1):
binat on $int_if from 192.168.200.4 to any -> 192.168.2.249
binat on $int_if from 192.168.200.6 to any -> 192.168.2.252
binat on $int_if from 192.168.200.7 to any -> 192.168.2.251
Tracerouting from the 2-LAN to the 3-LAN always mentiones 192.168.2.249
in its output.
For now, I've created some static routes on machines in the 2-LAN who
need to communicate with machines in the 3-LAN.
Can anyone help me with this issue? Are these NAT rules responsible for
this strange behaviour?
Thanks in advance.
Regards, Peter
-- Statisticians probably do it. MSN/Mail: pboosten at hotmail dot com
- Previous message: Marco S Hyman: "Re: pf syntax error - I can't see the problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|