Page 1 of 1

Newbie Needing Some Help

Posted: Thu Nov 20, 2014 4:50 pm
by birdm110167
Hi there - just wondering if someone can point me in the right direction please.

Scenario

Just bought a Netgear R7000 Nighthawk Router and have enable the OpenVPN VPN option.

On a Windows XP box have install ed OpenVPN client and changed the config to point to my office adsl routers static IP. Port forwarding all setup etc.
The XP box connects and when I google "whats my IP" I get the static IP address of my office - great, really works well.

My problem. On a Windows 7 box I have setup the OpenVPN cleint and modified the config again. Renamed the TAP network adapter to NETGEAR-VPN as before an it connects but doesn't get the static IP address and gives me the following not in the staus window

Thu Nov 20 16:38:35 2014 NOTE: unable to redirect default gateway -- VPN gateway parameter (--route-gateway or --ifconfig) is missing
Thu Nov 20 16:38:35 2014 Initialization Sequence Completed
Thu Nov 20 16:38:35 2014 MANAGEMENT: >STATE:1416501515,CONNECTED,SUCCESS,,37.157.xx.xx

Please can any OpenVPN guru point out the error of my ways

kind regards

Mark

Re: Newbie Needing Some Help

Posted: Thu Nov 20, 2014 5:34 pm
by maikcat
post your configs,

also are you running openvpn with admin rights?

Michael.

Re: Newbie Needing Some Help

Posted: Fri Nov 21, 2014 6:24 pm
by birdm110167
Hi Michael

Thanks for the reply. Im thinking its a Windows 7 Firewall issue.

Will post logs asap. The machine that is playing up is a remote one to me and I need to gain access agin over the weekend.

M

Re: Newbie Needing Some Help

Posted: Fri Nov 21, 2014 6:29 pm
by birdm110167
Right - I can confirm the Open VPN client was installed with Admin rights. It is run with Admin rights and the logged in user is an Admin.

Here is the client config - I don't know how to get the server confog from the netgear router, ssh perhaps?

client
dev tap
proto udp
dev-node NETGEAR-VPN
remote 10.0.0.113 12974
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
cipher AES-128-CBC
comp-lzo
verb 5


The TAP adapter is renamed as NETGEAR-VPN as per instructions on the install page from the router.


I tried it on two Windows 7 PCs now and they both worked a-ok, its just this one PC. It uses Windows Firewall whilst the other two use AVG firewall

Re: Newbie Needing Some Help

Posted: Sat Nov 22, 2014 12:17 pm
by maikcat
i noticed that you connect to a private ip,
how are you testing your setup?

Michael.

Re: Newbie Needing Some Help

Posted: Sat Nov 22, 2014 12:38 pm
by birdm110167
Hi Michael

It was tested when I first installed OpenVPn onto an old XP box and it worked. The private IP is generated by the netgear router and needs to be changed to the public IP (which I left out for security)

Think the issue is resolved now. The client had installed something called CyberGhost to obscure his tracks. That seemed to have install another TAP adapter (also OpenVPN) once I deleted that it worked straight away.

Thank you so much for helping

Kind regards

M :O)