I'm trying to set up an OpenVPN server on my QNAP Nas.
QNAP Nas: 192.168.0.5
Some other computer in LAN: 192.168.0.7
I've forward port 1194 to 192.168.0.5 in my router. I can connect to the QNAP Nas OpenVPN server from an outside client but can't reach "Some other computer" through that connection.
# OpenVPN server configuration QNAP NAS local 192.168.0.5 proto udp dev tun # detect mtu if the connection is slow. ; mtu-test # define mtu, if necessary ; tun-mtu xyz # data compression comp-lzo # allow, that several clients with the same common name log on ; duplicate-cn # different clients can "see" each other through the tunnel. ; client-to-client # Keepalive keepalive 15 120 # Log files status /opt/etc/openvpn/log/status.log log-append /opt/etc/openvpn/log/openvpn.log # Run as daemon (activate, after everything is set up properly) daemon # Management Interface. Access with "telnet localhost 7505" management localhost 7505 port 1194 server 10.8.0.0 255.255.255.0 dh /opt/etc/openvpn/keys/dh1024.pem ca /opt/etc/openvpn/keys/ca.crt cert /opt/etc/openvpn/keys/server.crt key /opt/etc/openvpn/keys/server.key # route push "route 192.168.0.0 255.255.255.0"
# Connect to QNAP OpenVPN Server proto udp dev tun tls-client pull # set mtu, if necessary ; tun-mtu xyz # resolv-retry infinite nobind persist-key persist-tun # test new in 2.1 remote-cert-tls server # comp-lzo ca "ca.crt" cert "client.crt" key "client.key" remote my.dyndns.com 1194
I'm little bit confused about "route...", "push route...", "server..."
Which option should point to which ip-address?
Feels like I'm missing something...
Thanks in advance!