Here's my .conf files and router static routes. Lastly, thank you very much for your help.
______________________________________________________________________________
Client ip address: 192.168.1.4 | 255.255.255.0. | Public IP address #1
Server ip address: 192.168.2.106 | 255.255.255.0 | Public IP address #2
Router ip: 192.168.2.1 | 255.255.255.0 | Public IP address #2
router configuration (netgear wgr614)
# Active Name Destination Gateway
1 Yes mh00hVPN 192.168.3.0 192.168.2.106
client.conf:
Code: Select all
client
dev tun
proto udp
XXXXX.dyndns.org 1194
resolv-retry infinite
nobind
user nobody
group nobody
persist-key
persist-tun
mute-replay-warnings
ca ca.crt
cert client1.crt
key client1.key
cipher AES-128-CBC
comp-lzo
verb 3
Code: Select all
port 1194
proto udp
dev tun
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
server 192.168.3.0 255.255.255.128
ifconfig-pool-persist ipp.txt
push "route 192.168.2.0 255.255.255.128"
push "redirect-gateway def1"
client-to-clientkeepalive 10 120
cipher AES-128-CBC
comp-lzo
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 3
mute 20