Routing to VPN stil not working with Open VPN2.2.2

Scripts with setup, destroy, and modify routing tables and firewall rulesets for client connections.

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

Locked
rkartman
OpenVpn Newbie
Posts: 14
Joined: Tue Jan 10, 2012 3:34 am

Routing to VPN stil not working with Open VPN2.2.2

Post by rkartman » Wed Jan 11, 2012 1:04 am

Note: I did not know how to add on to my other post regarding this. I have now installed OpenVPN 2.2.2. The gui icon is connected to my VPN IP, but Internet Explorer is not routing through the vpn. It is getting online normally. Is there some sort of scripting that can be placed in Internet Explorer 9 that will force it to use the connected VPN? (Windows 7 Professional).

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

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by maikcat » Wed Jan 11, 2012 7:58 am

this is not explorer problem,

ussually openvpn redirects all traffic through tunnel

you can check out your routing table using netstat -nr command.

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"

rkartman
OpenVpn Newbie
Posts: 14
Joined: Tue Jan 10, 2012 3:34 am

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by rkartman » Fri Jan 13, 2012 2:39 am

Michael:

I don't know what that all means, as I am unfamiliar with all of this. I did respond to what I thought was your last post, where you asked me to paste in the config info:

Here is a copy:


Here it is...

By the wauy, if it is significant: When checking my network connections, it shows the vpn as an unknown network with no internet access (If I understand the concept of vpn, I assume the vpn works as an enclosed "tunnel" that is encased by the computer's normal internet connection..or is it the other way around?

dev tun
remote 76.74.241.233
ifconfig 172.16.10.2 172.16.10.1
keepalive 10 60
proto udp
port 12056
persist-tun
persist-key
verb 3
redirect-gateway def1
secret 6b668bf1.key

rkartman
OpenVpn Newbie
Posts: 14
Joined: Tue Jan 10, 2012 3:34 am

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by rkartman » Fri Jan 13, 2012 2:15 pm

Michael:

I am not sure if you viewed my other response. Please let me know if you are still trying to help me out.

Thanks, Ronnie Kartman

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

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by maikcat » Fri Jan 13, 2012 2:18 pm

can you post the output of netstat -nr command on your client before and after you connect?

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"

rkartman
OpenVpn Newbie
Posts: 14
Joined: Tue Jan 10, 2012 3:34 am

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by rkartman » Fri Jan 13, 2012 2:23 pm

I don't knowwhat "netstat -nr command on your client" means. Can you elaborate please. You are communicating with a dummy with this (I was only exposed to the term "VPN" a week ago). But I realy need your help.

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

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by maikcat » Fri Jan 13, 2012 2:26 pm

ok,


open a cmd on your windows client and at the command prompt type:

netstat -nr


copy paste the output here before and after the vpn tunnel is up..

i dont want to sound rude , but did you ask for help from your vpn provider?

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"

rkartman
OpenVpn Newbie
Posts: 14
Joined: Tue Jan 10, 2012 3:34 am

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by rkartman » Fri Jan 13, 2012 2:43 pm

No, you are not being rude at all. I have spent houirs back and forth with VPSville (the provider of the server in Toronto) and they have mentioned severla times that the only suport they offer is to make sure that their server and my acount is running properly. Not very pleased with this, as I am simply an end user wanting to do what I thought was a simple thing. I can see that this forum is geared more towards people who have techincial expertise with VPN, and I am sure that this is frustrating for you as well, but I have been sent here by both OpenVPN and Vpsville to get help. Note: I just went to the command promprt within windows 7 under user and it rejected the command as not recognized as an internal or external command or batch file.

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

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by maikcat » Fri Jan 13, 2012 2:50 pm

I can see that this forum is geared more towards people who have techincial expertise with VPN
unfortunately the VPN concept requires some technical background knowledge on tcp/ip, routing , encryption etc..

it is not for begginers.. :(
I just went to the command promprt within windows 7 under user and it rejected the command as not recognized as an internal or external command or batch file.
do you have admin rights on your windows?
did you typed it correctly?

netstat -nr
there is a space between netstat and -nr...

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"

rkartman
OpenVpn Newbie
Posts: 14
Joined: Tue Jan 10, 2012 3:34 am

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by rkartman » Fri Jan 13, 2012 2:57 pm

Okay..I got in, but am not familiar wiht how to copy and paste. It selects all but only paste shows up

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

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by maikcat » Fri Jan 13, 2012 2:58 pm

try to select the text,press enter and try to paste the contents on a notepad..

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"

rkartman
OpenVpn Newbie
Posts: 14
Joined: Tue Jan 10, 2012 3:34 am

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by rkartman » Fri Jan 13, 2012 3:03 pm

This is before I open the gui and connect

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Ron>netstat -nr
===========================================================================
Interface List
20...00 ff b8 f5 f8 cc ......TAP-Win32 Adapter V9
12...b8 70 f4 cb b0 fa ......Realtek PCIe GBE Family Controller
11...74 de 2b 3a 89 23 ......Atheros AR9002WB-1NG Wireless Network Adapter
1...........................Software Loopback Interface 1
18...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
21...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
14...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.254 192.168.1.64 25
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.1.0 255.255.255.0 On-link 192.168.1.64 281
192.168.1.64 255.255.255.255 On-link 192.168.1.64 281
192.168.1.255 255.255.255.255 On-link 192.168.1.64 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.1.64 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.1.64 281
===========================================================================
Persistent Routes:
None

IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
14 58 ::/0 On-link
1 306 ::1/128 On-link
14 58 2001::/32 On-link
14 306 2001:0:4137:9e76:280e:8df:3f57:febf/128
On-link
11 281 fe80::/64 On-link
14 306 fe80::/64 On-link
14 306 fe80::280e:8df:3f57:febf/128
On-link
11 281 fe80::99e6:4c87:5fcd:e8ef/128
On-link
1 306 ff00::/8 On-link
14 306 ff00::/8 On-link
11 281 ff00::/8 On-link
===========================================================================
Persistent Routes:
None

C:\Users\Ron>

rkartman
OpenVpn Newbie
Posts: 14
Joined: Tue Jan 10, 2012 3:34 am

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by rkartman » Fri Jan 13, 2012 3:08 pm

This is when it is connected:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Ron>netstat -nr
===========================================================================
Interface List
20...00 ff b8 f5 f8 cc ......TAP-Win32 Adapter V9
12...b8 70 f4 cb b0 fa ......Realtek PCIe GBE Family Controller
11...74 de 2b 3a 89 23 ......Atheros AR9002WB-1NG Wireless Network Adapter
1...........................Software Loopback Interface 1
18...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
21...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
14...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.254 192.168.1.64 25
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
172.16.10.0 255.255.255.252 On-link 172.16.10.2 286
172.16.10.2 255.255.255.255 On-link 172.16.10.2 286
172.16.10.3 255.255.255.255 On-link 172.16.10.2 286
192.168.1.0 255.255.255.0 On-link 192.168.1.64 281
192.168.1.64 255.255.255.255 On-link 192.168.1.64 281
192.168.1.255 255.255.255.255 On-link 192.168.1.64 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 172.16.10.2 286
224.0.0.0 240.0.0.0 On-link 192.168.1.64 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 172.16.10.2 286
255.255.255.255 255.255.255.255 On-link 192.168.1.64 281
===========================================================================
Persistent Routes:
None

IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
14 58 ::/0 On-link
1 306 ::1/128 On-link
14 58 2001::/32 On-link
14 306 2001:0:4137:9e76:280e:8df:3f57:febf/128
On-link
20 286 fe80::/64 On-link
11 281 fe80::/64 On-link
14 306 fe80::/64 On-link
14 306 fe80::280e:8df:3f57:febf/128
On-link
20 286 fe80::91b9:b339:676e:7335/128
On-link
11 281 fe80::99e6:4c87:5fcd:e8ef/128
On-link
1 306 ff00::/8 On-link
14 306 ff00::/8 On-link
20 286 ff00::/8 On-link
11 281 ff00::/8 On-link
===========================================================================
Persistent Routes:
None

C:\Users\Ron>


This is after disconnect:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Ron>netstat -nr
===========================================================================
Interface List
20...00 ff b8 f5 f8 cc ......TAP-Win32 Adapter V9
12...b8 70 f4 cb b0 fa ......Realtek PCIe GBE Family Controller
11...74 de 2b 3a 89 23 ......Atheros AR9002WB-1NG Wireless Network Adapter
1...........................Software Loopback Interface 1
18...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
21...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
14...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.254 192.168.1.64 25
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.1.0 255.255.255.0 On-link 192.168.1.64 281
192.168.1.64 255.255.255.255 On-link 192.168.1.64 281
192.168.1.255 255.255.255.255 On-link 192.168.1.64 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.1.64 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.1.64 281
===========================================================================
Persistent Routes:
None

IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
14 58 ::/0 On-link
1 306 ::1/128 On-link
14 58 2001::/32 On-link
14 306 2001:0:4137:9e76:280e:8df:3f57:febf/128
On-link
11 281 fe80::/64 On-link
14 306 fe80::/64 On-link
14 306 fe80::280e:8df:3f57:febf/128
On-link
11 281 fe80::99e6:4c87:5fcd:e8ef/128
On-link
1 306 ff00::/8 On-link
14 306 ff00::/8 On-link
11 281 ff00::/8 On-link
===========================================================================
Persistent Routes:
None

C:\Users\Ron>

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

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by maikcat » Fri Jan 13, 2012 6:18 pm

are you running GUI with admin rights?

if not ,check the run as administrator option in openvpn GUI
program

ps: you SHOULD see a second line with 0.0.0.0 entries when
issuing netstat -nr AFTER you connect...

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"

rkartman
OpenVpn Newbie
Posts: 14
Joined: Tue Jan 10, 2012 3:34 am

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by rkartman » Fri Jan 13, 2012 7:05 pm

Michael" I right clicked on the gui icon. I guess you mean I should click on the "rund as an administrator. In the meantime, I have reinstalled the OS on the server to re-do all of the proper steps. I will likely know shortly whether it works. How much longer will you be there?

rkartman
OpenVpn Newbie
Posts: 14
Joined: Tue Jan 10, 2012 3:34 am

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by rkartman » Fri Jan 13, 2012 7:18 pm

Michael:

Holy $%%*^!Q!!! It's working. I reinstalled everything again and it works. I thank you for your time and patience. I would suggest that next time there is a similar posting, you may want to first suggest this to "newbies" and simpleton end-users like me. Because of all of the new terminology to deal with, it is easy to mess up somewhere along on the install. I finally wrote a strong letter regarding their support to vpsville,a nd I got them to respond to my question about whether or not it should be re-installed. They told me that this was a comon thing upon new installs (They might have mentioned this days ago. It would have saved both myself and you time and energy)

I again thank you.

Ronnie Kartman

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

Re: Routing to VPN stil not working with Open VPN2.2.2

Post by maikcat » Sun Jan 15, 2012 7:03 pm

im glad to hear that it finally worked for you,

closing topic

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"

Locked