I didn`t find any other topic for issue I have with OpenVPn client v1.5.6 in Windows7 64b.
Firstly I would like to show you OpenVPN server configuration in DD-WRT router firmware:

client-config-dir /tmp/openvpn/ccd
Code: Select all
mkdir -p /tmp/openvpn/ccd
echo "iroute 172.16.1.0 255.255.255.0" > /tmp/openvpn/ccd/client1
echo "push route 172.16.2.0 255.255.255.0" >> /tmp/openvpn/ccd/client1
Code: Select all
client
proto tcp
remote =IP_OpenVPN_server=
port 3389
dev tun
nobind
pull
comp-lzo
ca ca.crt
cert client2.crt
key client2.key

NIC status

Issue description
I am not sure if my client configuration is right, but I can establish VPN connection with following issues:
1. Client assigned IP address from OpenVPN Client should be 10.10.10.3, but as you can see in NIC status, where is 10.10.10.3 IP assigned?
2. Pushed routes from server are in client routing table (RT) using IF 10.10.10.3 but 10.10.10.0/24 network is missing in RT, thats why default route match - wrong routing.
My temporary solution
After OpenVPN client2 initiation, I need to manually set up IP address (each time of OVPN reconnecting) to 10.10.10.3/24 and add desired routes towards 10.10.10.1 (IP of tunel on OpenVPN server).
May I kindly ask you how my client2.ovpn file should look if I want to establish OpenVPN connection without any other manual setup? Thanks in advance for replies.