Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-26-2006, 10:00 PM   #1
LQ Newbie
Registered: Aug 2006
Location: Prince George, BC, Canada
Distribution: Debian (Sarge+Linex)
Posts: 6

Rep: Reputation: 0
Question How to set up VPN when the LANs are on stand-alone (ie: D-Link) routers

So what I have are two switched LANs uplinked to D-Link routers which access the internet via the WAN side of each respective router.

What I start out with is something like this: on LAN1 --> (D-Link DI-704) --> Internet on LAN2 --> (D-Link DI-524) --> Internet

If what I understand of VPN is correct the "joined" network shows up to all systems as a completely different net section (eg: 10.x.x.x) so I guess that would be "LAN3"?

Much of what I read about for OpenS/WAN assumes the Linux endpoints running the tunnel are also routing the local<-->WAN traffic. Since the LANs are already behind routers I'd like to make use of the "VPN passthru" offered by the D-Link routers at each LAN<-->WAN. For this particular setup I haven't seen any appropriate documentation.

Has anyone gotten the above infrastructure working? If so would you be able to explain how to properly configure the two FreeS/WAN machines ( and above).

Last edited by gau_veldt; 08-26-2006 at 10:24 PM.
Old 08-26-2006, 10:06 PM   #2
LQ Newbie
Registered: Aug 2006
Location: Prince George, BC, Canada
Distribution: Debian (Sarge+Linex)
Posts: 6

Original Poster
Rep: Reputation: 0
Follow-up (PS): I own two domain names I can use for configuration if necessary (so if the routers, say, need gateway names on DNS I can add them to the zone(s) for one or both of my two domain names).

System ( on LAN1 runs SuSE10 and my system ( on LAN2 is Debian Sarge (with upgrades and extras).

Last edited by gau_veldt; 08-26-2006 at 10:08 PM.


debian, linux, networking, suse

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need advice regarding Watchguard Firebox, or other VPN ready routers lostboy Linux - Hardware 0 06-19-2006 12:59 PM
VPN Set UP using Linux nuurul_basar Linux - Networking 2 06-08-2005 10:27 PM
Easiest VPN set up fo slack? flashingcurser Slackware 6 03-12-2005 07:39 AM
how can I use the VPN to link the internet ReiserFS Slackware 0 11-05-2004 04:40 AM
Can ping to win pc's and router but not Linux over vpn link. lobsiger Linux - Networking 0 03-30-2004 01:54 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration