Internet connectivity through VPN

I have a main building and a remote building on the same property.    The remote building needs to access the main building network and Internet connection.  

The buildings are connected via a wireless setup with lan port on each local network and a wireless card connecting the 2 buildings.  The buildings have a VPN connection between the 2 and I can access each others local network resources just fine.  

However, the remote building can not surf the Internet.  I assume I am missing a static route to make this work.

We are using a Soekris embedded pc and m0n0wall as the OS.


Main building:

Inet connection to router to switch to computers & wireless setup.

Router has realworld PPOE connection and address to Internet provider.
The router LAN connection is 192.168.1.254/24.

The wireless setup LAN port has 192.168.1.200/24.
The wireless setup WAN port is 192.168.50.1/30.

Router has a static route to the remote building lan 192.168.2.254
192.168.2.0/24 -> 192.168.1.200


Remote building:

The wireless setup WAN port is 192.168.50.2/30
The wireless setup LAN port is 192.168.2.254/24

There is an established VPN tunnel between the 2 WAN ports and everything works internally just the remote building network can't access the Internet.


Thanks


 
 
 
postal1969Asked:
Who is Participating?
 
fatladCommented:
Does the remote site WAN router have a specific static route to the 192.168.1.x network or does it use a more general 0.0.0.0 route?
0
 
EmpKentCommented:
You need to give the remote site a Hail Mary route.

0.0.0.0 0.0.0.0 192.168.1.254

This will tell it to send anything that is not local to the Inet facing router.

Kent
0
 
postal1969Author Commented:
Thanks I'll give these a try tonight...  I was thinking about Kent's answer but didn't remember if I had tried it in all of the combos I tried.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.