igy
I have very simple OVPN
configuration is:
My Internet router IP = 192.16.0.1
I
I
My PC IP1 = 192.168.0.197
My PC IP2 = 13.13.13.1
I
I
My laptop IP = 13.13.13.1
It's Win XP (both of them)
No certs, only one key
IP forwarding on both winXP is OK: registry => HKey_local_machine=> System => Current_control_set => Tcpip => parameters => IPEnableRouter=1
OpenVPN: My PC <==> My laptop is working fine
ie on My laptop: ping 10.9.0.1 is OK, wireshark say it as VPN
Problem is connection from My Laptop to IP = 192.168.0.197 (and all 192.168.0.0/24 net)
ie network on server side
My PC server config is very simple:
#################################################
# Sample OpenVPN 2.0 config file #
#################################################
port 1194
proto udp
dev tun
local 13.13.13.1
remote 13.13.13.2
ifconfig 10.9.0.1 10.9.0.2
push "route 192.168.0.0 255.255.255.0"
secret key.txt
Also My laptop client config is:
##############################################
# Sample client-side OpenVPN 2.0 config file #
##############################################
;client
port 1194
proto udp
dev tun
remote 13.13.13.1
ifconfig 10.9.0.2 10.9.0.1
secret key.txt
It is like push is not working, there is missing route in client routing table (my laptop),
something as: 192.168.0.0/24 sent to 10.9.0.1 (VPN)
If I add this route manually on my laptop:
route add 192.168.0.0 mask 255.255.255.0 10.9.0.1
everything start to work normaly, it is possible from My Laptop: ping 192.168.0.197 and it is OVPN trafficc
what I am doing wrong?