Server Config:
local my.server.com
port 1194
proto udp
dev tun
topology subnet
ca /mnt/Files/openvpn/keys/ca.crt
cert /mnt/Files/openvpn/keys/server.crt
key /mnt/Files/openvpn/keys/server.key
dh /mnt/Files/openvpn/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push “route 192.168.0.0″ 255.255.255.0″
route 192.168.0.0 255.255.255.0 10.8.0.1
keepalive 10 120
comp-lzo
persist-key
persist-tun
verb 3
Client config:
client
dev tun
proto udp
remote 192.168.0.100 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca /ca.crt
cert /joe.joe.crt
key /joe.joe.key
ns-cert-type server
comp-lzo
My router IP is 192.168.0.1
My VPN is on 192.168.0.100 and when I VPN into the server my client gets IP 10.8.0.10.
I want to have access to 192.168.0.5 but I cannot from my client system. I think I need to add some routing option to the OpenVPN server running on FreeNAS, but I really don't know how, where and what to do.
Can anyone help?