[ale] linking 2 lans via PPP ?
bob at verysecurelinux.com
Wed Jan 7 06:52:37 EST 2004
One LAN is the client PPP, one is the server, and you just need a route
command on each end to route through ppp0. Of course, a VPN would be a
bob at verysecurelinux.com [Please use for email to me]
http://www.verysecurelinux.com [Network&Linux/Unix security consulting]
http://www.realworldlinuxsecurity.com [My book:"Real World Linux Security 2/e"]
Quality Linux & UNIX security and SysAdmin & software consulting since 1990.
"Microsoft: Unsafe at any clock speed!"
-- Bob Toxen 10/03/2002
On Tue, Jan 06, 2004 at 08:53:11PM -0500, Christopher Bergeron wrote:
> Hi guys - I have a feeling this is an easy one; but I can't figure it out.
> I'm trying to link 2 lans over the internet using pppd. I'm NOT trying
> to tunnel it through SSH, however. It's an odd configuration, and
> security isn't an issue here, so I don't need the ssh tunnel.
> Basically, I have 2 LANs that I want to link via PPP. Each LAN has its
> own static gateway address. I'd like to link them together. Both LANs
> are numbered differently (ie. one is 192.168.3.0 and the other is
> 192.168.4.0). I'd like to link them as such:
> LAN1 (192.168.3.0) - Gateway (220.127.116.11) - Internet - Gateway
> (18.104.22.168) - LAN2 (192.168.4.0)
> I could easily handle the routing issues that are involved; however, I
> just can't seem to find simple and straighforward info on how to do PPP
> in this configuration. The PPP howto has a 1 paragraph "chapter" on
> linking LANs with PPP, but it simply says that the howto can show you
> how to do it. But it doesn't - it only shows dialup/chat style PPP
> I just want to do a simple "pppd noauth ... " command that I can use to
> create a link.
> Can anyone shed any light on this for me?
> Much thanks in advance,
> Ale mailing list
> Ale at ale.org
More information about the Ale