OpenVPN Server with Windows 7 Home Premium

Need help configuring your VPN? Just post here and you'll get that help.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
shahbazaslam
OpenVpn Newbie
Posts: 8
Joined: Thu Aug 23, 2012 4:35 pm

OpenVPN Server with Windows 7 Home Premium

Post by shahbazaslam » Thu Aug 23, 2012 4:45 pm

Hi there,

I have successfully configured Openvpn Server in my windows 7 home premium and can easily connect client from remote location. After connecting, client can ping VPN server, but can't ping to other PCs on LAN specially windows machine.

my server config;

Code: Select all


local 192.168.0.113
port 1194
proto udp
dev tun

ca C:\\OpenVPN\\easy-rsa\\keys\\ca.crt
cert C:\\OpenVPN\\easy-rsa\\keys\\server.crt
key C:\\OpenVPN\\easy-rsa\\keys\\server.key  # This file should be kept secret
dh C:\\OpenVPN\\easy-rsa\\keys\\dh1024.pem

server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.0.0 255.255.255.0"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3


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

Re: OpenVPN Server with Windows 7 Home Premium

Post by maikcat » Fri Aug 24, 2012 6:14 am

hi there,

did you enabled ip forwarding on your server?

did you configured firewall (if any) to forward traffic from tap interface to lan?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

shahbazaslam
OpenVpn Newbie
Posts: 8
Joined: Thu Aug 23, 2012 4:35 pm

Re: OpenVPN Server with Windows 7 Home Premium

Post by shahbazaslam » Fri Aug 24, 2012 4:38 pm

maikcat wrote:hi there,

did you enabled ip forwarding on your server?

did you configured firewall (if any) to forward traffic from tap interface to lan?

Michael.
No!! how can I do that?

shahbazaslam
OpenVpn Newbie
Posts: 8
Joined: Thu Aug 23, 2012 4:35 pm

Re: OpenVPN Server with Windows 7 Home Premium

Post by shahbazaslam » Sat Aug 25, 2012 7:14 am

maikcat wrote:hi there,

did you enabled ip forwarding on your server?

did you configured firewall (if any) to forward traffic from tap interface to lan?

Michael.
One thing more, I have modified the changes in registry for IP Forwarding, and also enabled service of Routing and Remote Access.. but still not luck.. also disabled firewall.. same result, able to connect VPN server, able to ping the server but not able to ping or reach other PCs in LAN...

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

Re: OpenVPN Server with Windows 7 Home Premium

Post by maikcat » Sat Aug 25, 2012 1:21 pm

hi there,

disable RAS and leave fw off for now..

did you reboot after editing the registry?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

shahbazaslam
OpenVpn Newbie
Posts: 8
Joined: Thu Aug 23, 2012 4:35 pm

Re: OpenVPN Server with Windows 7 Home Premium

Post by shahbazaslam » Sat Aug 25, 2012 3:33 pm

maikcat wrote:hi there,

disable RAS and leave fw off for now..

did you reboot after editing the registry?

Michael.
Yes I did reboot many times. And, again now, after modifying changes like you said... still not luck, infect ping to Openvpn Server is also lost.. but able to connect it.

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

Re: OpenVPN Server with Windows 7 Home Premium

Post by maikcat » Sat Aug 25, 2012 5:23 pm

hi there,
After connecting, client can ping VPN server, but can't ping to other PCs on LAN specially windows machine.
infect ping to Openvpn Server is also lost.. but able to connect it.
you confused me...
can you ping the openvpn server from client or not?

is your vpn connection declared as "unindentified network" by win7?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

shahbazaslam
OpenVpn Newbie
Posts: 8
Joined: Thu Aug 23, 2012 4:35 pm

Re: OpenVPN Server with Windows 7 Home Premium

Post by shahbazaslam » Sat Aug 25, 2012 5:37 pm

Hi, Michael
maikcat wrote:hi there,

disable RAS and leave fw off for now..

did you reboot after editing the registry?

Michael.

Apology for that.. I did like you said above..
After this, I am able to connect VPN server and got IP:10.8.0.x. Connection is showing "Unindentified network".
I can ping VPN server tunnel IP: 10.8.0.1 but I can't ping its LAN IP: 192.168.0.x and other PCs behind it.

I hope clear now..

shahbazaslam
OpenVpn Newbie
Posts: 8
Joined: Thu Aug 23, 2012 4:35 pm

Re: OpenVPN Server with Windows 7 Home Premium

Post by shahbazaslam » Sun Aug 26, 2012 3:09 am

One thing more, I am using Openvpn Server Version 2.1.4 on windows 7 home premium.

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

Re: OpenVPN Server with Windows 7 Home Premium

Post by maikcat » Sun Aug 26, 2012 8:53 am

hi there,

which registry key did you modified for ip forwarding?

also do the following:

after you start openvpn open network and sharing center
click on customize next to unindentified network (openvpn)
on the pop up window select "private" as location type then next button then close.

also for testing disable firewall on 7.. (or any other antivirus software which has firewall).

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

shahbazaslam
OpenVpn Newbie
Posts: 8
Joined: Thu Aug 23, 2012 4:35 pm

Re: OpenVPN Server with Windows 7 Home Premium

Post by shahbazaslam » Sun Aug 26, 2012 11:36 am

Hello,
maikcat wrote:hi there,

which registry key did you modified for ip forwarding?

also do the following:

after you start openvpn open network and sharing center
click on customize next to unindentified network (openvpn)
on the pop up window select "private" as location type then next button then close.
also for testing disable firewall on 7.. (or any other antivirus software which has firewall).
Michael.
I modified this value in registry: IPEnableRouter : 1
If you can see the post, I am using windows 7 home premium, in this there is no option like customizing...

shahbazaslam
OpenVpn Newbie
Posts: 8
Joined: Thu Aug 23, 2012 4:35 pm

Re: OpenVPN Server with Windows 7 Home Premium

Post by shahbazaslam » Sun Aug 26, 2012 11:41 am

maikcat wrote: also for testing disable firewall on 7.. (or any other antivirus software which has firewall).
firewall is disabled since when I started setting openvpn server.

Post Reply