Help answer threads with 0 replies.
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 10-06-2008, 07:51 AM   #1
LQ Newbie
Registered: Aug 2008
Distribution: fedora core 8
Posts: 8

Rep: Reputation: 0
lan to lan over pptpd vpn

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/
the vpn ip range is 192.168.0.x/

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/
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, 04:26 PM   #2
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 is the foreign lan ip range
at command line type the following.
route add -net dev TUNNEL_DEV netmask

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

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 ????


pptp, vpn

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

All times are GMT -5. The time now is 01:19 AM.

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