LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   lan to lan over pptpd vpn (http://www.linuxquestions.org/questions/linux-networking-3/lan-to-lan-over-pptpd-vpn-674539/)

atomixx 10-06-2008 06:51 AM

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 ?

atomixx 10-06-2008 03:26 PM

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


All times are GMT -5. The time now is 07:01 PM.