I have two Debian boxes sitting on two separate networks. I am trying to set up an OpenVPN link across the internet between the two and I've hit a little roadblock. I would like to set this up so that all of my home IPs are accessible from work, and vice-versa. No internet traffic needs to go over this VPN link, only the local network traffic.
I have successfully connected the two boxes as such
172.16.130.2 internal addy (10.9.8.1 vpn addy) - server vpn address (work) 172.16.120.2 internal addy (10.9.8.2 vpn addy) - client vpn address (home)
I am able to ping the client and server's VPN from the terminal on both boxes, no problems there- the vpn works well. So I can ping 10.9.8.1 from my home server.
I set up a static route on my home server for 172.16.130.0/24 with gateway 10.9.8.1, and vice versa on the work server and I am now able to ping my work server's internal ip of 10.16.130.2. That works too.
So now I try to ping my work server's router @ 172.16.130.1, or any of the client IPs on my work network 172.16.130.x and no dice. What would be the next step to get my work network visible to my home server? I'm thinking I don't need to do anything on my routers yet, but I might be wrong.