Hi all!
So heres the gist - I have setup a OpenVPN server on a FreeBSD VM. Everything works nicely, I can ping all machines from my client, can get to all my network resources. The client is sitting on a remote network and is currently a windows machine. My reason for this was just to test my client config to make sure it worked. The gateway for the remote site is a FreeBSD router w/ pf. I wanted all the other clients (at the remote site) to be able to route through the vpn; so I went to add the vpn subnet to the route table on the router.
I had to add the vpn subnet to my server side network via my AdTran core switch. It took the route without issue. So I simply went to do the same thing on the BSD gateway. I suppose it makes sense that it wont add unreachable networks, but a static route is a pretty basic thing...
Am I missing something or is this strange to anyone else?
On a side note I do not want to install OpenVPN on the remote gateway because the end solution for my project will call for the openvpn client box to sit on another server and not the gateway.
So heres the gist - I have setup a OpenVPN server on a FreeBSD VM. Everything works nicely, I can ping all machines from my client, can get to all my network resources. The client is sitting on a remote network and is currently a windows machine. My reason for this was just to test my client config to make sure it worked. The gateway for the remote site is a FreeBSD router w/ pf. I wanted all the other clients (at the remote site) to be able to route through the vpn; so I went to add the vpn subnet to the route table on the router.
Code:
route add 10.8.0.0 255.255.255.0 10.1.10.12
route: writing to routing socket: Network is unreachable
add net 10.8.0.0: gateway 255.255.255.0: Network is unreachable
I had to add the vpn subnet to my server side network via my AdTran core switch. It took the route without issue. So I simply went to do the same thing on the BSD gateway. I suppose it makes sense that it wont add unreachable networks, but a static route is a pretty basic thing...
Am I missing something or is this strange to anyone else?
On a side note I do not want to install OpenVPN on the remote gateway because the end solution for my project will call for the openvpn client box to sit on another server and not the gateway.