Newbie Needing Some Help

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
birdm110167
OpenVpn Newbie
Posts: 4
Joined: Thu Nov 20, 2014 4:44 pm

Newbie Needing Some Help

Post by birdm110167 » Thu Nov 20, 2014 4:50 pm

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

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Newbie Needing Some Help

Post by maikcat » Thu Nov 20, 2014 5:34 pm

post your configs,

also are you running openvpn with admin rights?

Michael.

birdm110167
OpenVpn Newbie
Posts: 4
Joined: Thu Nov 20, 2014 4:44 pm

Re: Newbie Needing Some Help

Post by birdm110167 » Fri Nov 21, 2014 6:24 pm

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

birdm110167
OpenVpn Newbie
Posts: 4
Joined: Thu Nov 20, 2014 4:44 pm

Re: Newbie Needing Some Help

Post by birdm110167 » Fri Nov 21, 2014 6:29 pm

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

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Newbie Needing Some Help

Post by maikcat » Sat Nov 22, 2014 12:17 pm

i noticed that you connect to a private ip,
how are you testing your setup?

Michael.

birdm110167
OpenVpn Newbie
Posts: 4
Joined: Thu Nov 20, 2014 4:44 pm

Re: Newbie Needing Some Help

Post by birdm110167 » Sat Nov 22, 2014 12:38 pm

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)

Post Reply