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