* help needed-VPN
@ 2003-05-27 9:39 Steven Mugassa
2003-05-27 10:15 ` Ray Leach
2003-05-27 10:31 ` Gabriele Altomare
0 siblings, 2 replies; 4+ messages in thread
From: Steven Mugassa @ 2003-05-27 9:39 UTC (permalink / raw)
To: netfilter; +Cc: owner-cipe-l, cipe-l
Hello,
I'm trying to implement VPN of two remote LANs(LAN A & LAN B) using CIPE (on
RedHat 9.0). I have tried to follow instructions from "CIPE-How to" from
tldp.org and it seems to work (the machines on the two LANs can ping &
traceroute each other using the internal IP addresses)
However i have one more requirement which i need advice on how to do it:-
-One of the machines(call it machine X) in LAN B is not using CIPE gateway
as its gateway( it is going to the internet using another gateway, which is
also in the same LAN). This machine don't need to access machines in LAN A,
but machine in LAN A need to access this machine. Since this machine is
using another gateway(not CIPE gateway), then the classical CIPE-based VPN
implementation will not allow it to be accessible by remote LAN.
-My question is, what modifications (routings, or SNAT/DNAT, ...) can i do
to allow machine in remote LAN A to access that machine X (in LAN B)?
Thanks,
Steven
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: help needed-VPN
2003-05-27 9:39 help needed-VPN Steven Mugassa
@ 2003-05-27 10:15 ` Ray Leach
2003-05-27 10:31 ` Gabriele Altomare
1 sibling, 0 replies; 4+ messages in thread
From: Ray Leach @ 2003-05-27 10:15 UTC (permalink / raw)
To: Netfilter Mailing List
[-- Attachment #1: Type: text/plain, Size: 1355 bytes --]
Hi
On Tue, 2003-05-27 at 11:39, Steven Mugassa wrote:
> Hello,
>
> I'm trying to implement VPN of two remote LANs(LAN A & LAN B) using CIPE (on
> RedHat 9.0). I have tried to follow instructions from "CIPE-How to" from
> tldp.org and it seems to work (the machines on the two LANs can ping &
> traceroute each other using the internal IP addresses)
>
> However i have one more requirement which i need advice on how to do it:-
> -One of the machines(call it machine X) in LAN B is not using CIPE gateway
> as its gateway( it is going to the internet using another gateway, which is
> also in the same LAN). This machine don't need to access machines in LAN A,
> but machine in LAN A need to access this machine. Since this machine is
> using another gateway(not CIPE gateway), then the classical CIPE-based VPN
> implementation will not allow it to be accessible by remote LAN.
>
On machine X you need a static route to tell it how to get back to LAN A
(i.e. via the VPN gateway). Since your VPN LAN is setup and working for
the other machines in LAN A and LAN B, the routes should already be
there for LAN A to get to machine X on LAN B.
> -My question is, what modifications (routings, or SNAT/DNAT, ...) can i do
> to allow machine in remote LAN A to access that machine X (in LAN B)?
>
> Thanks,
> Steven
>
>
>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: help needed-VPN
2003-05-27 9:39 help needed-VPN Steven Mugassa
2003-05-27 10:15 ` Ray Leach
@ 2003-05-27 10:31 ` Gabriele Altomare
1 sibling, 0 replies; 4+ messages in thread
From: Gabriele Altomare @ 2003-05-27 10:31 UTC (permalink / raw)
To: netfilter
You have to add a static route on the machine X which say :
to the remote lan (the lan on the other side of the tunnel) use the Cipe
Gateway. That's all.
On Tue, 2003-05-27 at 11:39, Steven Mugassa wrote:
> Hello,
>
> I'm trying to implement VPN of two remote LANs(LAN A & LAN B) using CIPE (on
> RedHat 9.0). I have tried to follow instructions from "CIPE-How to" from
> tldp.org and it seems to work (the machines on the two LANs can ping &
> traceroute each other using the internal IP addresses)
>
> However i have one more requirement which i need advice on how to do it:-
> -One of the machines(call it machine X) in LAN B is not using CIPE gateway
> as its gateway( it is going to the internet using another gateway, which is
> also in the same LAN). This machine don't need to access machines in LAN A,
> but machine in LAN A need to access this machine. Since this machine is
> using another gateway(not CIPE gateway), then the classical CIPE-based VPN
> implementation will not allow it to be accessible by remote LAN.
>
> -My question is, what modifications (routings, or SNAT/DNAT, ...) can i do
> to allow machine in remote LAN A to access that machine X (in LAN B)?
>
> Thanks,
> Steven
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: help needed-VPN
@ 2003-05-27 10:55 George Vieira
0 siblings, 0 replies; 4+ messages in thread
From: George Vieira @ 2003-05-27 10:55 UTC (permalink / raw)
To: Steven Mugassa, netfilter; +Cc: owner-cipe-l, cipe-l
ha haaa!!! A sneeaky way of doing thing is one way..
There is a trade off on the idea I have but here goes..
You maquerade your LAN B machines to access lan A workstation. This LAN A workstation won't need a static route to LAN B because it'll appear as the firewall/VPN machine because you've MASQUERADED it..
trade off is that every machine in LAN B will appear as the firewall..
I'm not familiar with CIPE so dunno if this will work for you..
-----Original Message-----
From: Steven Mugassa [mailto:steven.mugassa@intafrica.com]
Sent: Tuesday, May 27, 2003 7:40 PM
To: netfilter@lists.netfilter.org
Cc: owner-cipe-l@inka.de; cipe-l@inka.de
Subject: help needed-VPN
Hello,
I'm trying to implement VPN of two remote LANs(LAN A & LAN B) using CIPE (on
RedHat 9.0). I have tried to follow instructions from "CIPE-How to" from
tldp.org and it seems to work (the machines on the two LANs can ping &
traceroute each other using the internal IP addresses)
However i have one more requirement which i need advice on how to do it:-
-One of the machines(call it machine X) in LAN B is not using CIPE gateway
as its gateway( it is going to the internet using another gateway, which is
also in the same LAN). This machine don't need to access machines in LAN A,
but machine in LAN A need to access this machine. Since this machine is
using another gateway(not CIPE gateway), then the classical CIPE-based VPN
implementation will not allow it to be accessible by remote LAN.
-My question is, what modifications (routings, or SNAT/DNAT, ...) can i do
to allow machine in remote LAN A to access that machine X (in LAN B)?
Thanks,
Steven
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-05-27 10:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-27 9:39 help needed-VPN Steven Mugassa
2003-05-27 10:15 ` Ray Leach
2003-05-27 10:31 ` Gabriele Altomare
-- strict thread matches above, loose matches on Subject: below --
2003-05-27 10:55 George Vieira
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox