LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-06-2008, 06:51 AM   #1
atomixx
LQ Newbie
 
Registered: Aug 2008
Distribution: fedora core 8
Posts: 8

Rep: Reputation: 0
lan to lan over pptpd vpn


hi
here is the scenario

site number 1(server)
I have a lan behind a fc8 firwall/proxy/vpn server
This lan ip range is 192.168.10.x/255.255.255.0
the vpn ip range is 192.168.0.x/255.255.255.255

If i connect to the vpn on my windows client (via internet) every thing works fine. i can connect to shares on the lan and use applications to run orders and invoices.
This tells me the server side is correct.

Site 2 (client)
this lan has ip range 10.0.0.x/255.255.255.0
the fc8 pptp-client does connect sucessfully.
but i cannot see any of the lan clients on the server site.

At the end of the day i need to have Both lan's working asif they were on the same network.
so that windows clients (site2) can connect to windows clients (site 1) on any port tunneling through the vpn, and vise versa.

by the way i cannot ping the LAN ethernet adapter on the server side from the fc8 pptp client.

I know that it is a firwall issue on the client side but my skills have a bit to be desired.
The proxy/gateway on the client side still needs to work once the vpn works so we cannot forward all requests to the ppp1 connection.
once that is right do i need to have a wins server on either side of the vpn or just one on the server side ?
 
Old 10-06-2008, 03:26 PM   #2
atomixx
LQ Newbie
 
Registered: Aug 2008
Distribution: fedora core 8
Posts: 8

Original Poster
Rep: Reputation: 0
thanx for the rapid resons guys (NOT)
if anyone else would like to know, you need to add a route to the routing table on both client and server side.

client side
192.168.10.0 is the foreign lan ip range
at command line type the following.
route add -net 192.168.10.0 dev TUNNEL_DEV netmask 255.255.255.0

server side
10.0.0.0 is the foreign lan ip range
at command line type the following.
route add -net 10.0.0.0 dev ppp1 netmask 255.255.255.0

the only problem now is the this client has to be the first to connect to the vpn or it will not work.

Is there a way to assign pppx to the incoming connection ????
 
  


Reply

Tags
pptp, vpn



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
sharing VPN access with lan + after vpn connected unable to ping lan/public ip xxx_anuj_xxx Linux - Networking 1 03-14-2008 02:50 AM
VPN Access to LAN daveginorge Linux - Networking 2 08-07-2007 11:19 AM
Access to LAN via VPN fpiergen Linux - Networking 3 02-15-2007 03:14 PM
No Internet but LAN and VPN connect LAN work fine??? xavior SUSE / openSUSE 7 11-09-2005 01:14 PM
VPN Lan to Lan OpsVentus Linux - Networking 0 03-09-2004 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:31 PM.

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