Problem with OpenVPN Windows 7 and Routing

This forum is for admins who are looking to build or expand their OpenVPN setup.

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
slepy
OpenVpn Newbie
Posts: 1
Joined: Thu Feb 03, 2011 12:10 pm

Problem with OpenVPN Windows 7 and Routing

Post by slepy » Thu Feb 03, 2011 12:18 pm

Hi !

I'm just install on my PC windows 7. Install a new version of OpenVPN.
Run OpenVPN gui as Administrator ( run as Administrator) and connect to my linux server of OpenVPN.

My access to Internet:

Wifi connect to ap, then I authorized with my Operator via PPPoE.

In log:

Code: Select all

Thu Feb 03 13:06:35 2011 C:\WINDOWS\system32\route.exe ADD 78.131.150.30 MASK 255.255.255.255 78.131.149.70
 OK!
Thu Feb 03 13:06:35 2011 C:\WINDOWS\system32\route.exe DELETE 0.0.0.0 MASK 0.0.0.0 78.131.149.70
Nie moľna usunĄ† trasy: Nie moľna odnale«† elementu.  ( Can't delete route, Can't found element )
Thu Feb 03 13:06:35 2011 C:\WINDOWS\system32\route.exe ADD 0.0.0.0 MASK 0.0.0.0 78.131.150.129
Nie moľna doda† trasy: Obiekt juľ istnieje. ( Can't add route, Element exist )
route print -4

Code: Select all

Aktywne trasy:
Miejsce docelowe w sieci   Maska sieci      Brama          Interfejs Metryka
          0.0.0.0          0.0.0.0         On-link     78.131.149.70     26
          0.0.0.0          0.0.0.0   78.131.150.129   78.131.150.133   4256
    78.131.149.70  255.255.255.255         On-link     78.131.149.70    281
    78.131.150.30  255.255.255.255         On-link     78.131.149.70     26
   78.131.150.128  255.255.255.128         On-link    78.131.150.133   4511
   78.131.150.133  255.255.255.255         On-link    78.131.150.133   4511
   78.131.150.255  255.255.255.255         On-link    78.131.150.133   4511
        127.0.0.0        255.0.0.0         On-link         127.0.0.1   4531
        127.0.0.1  255.255.255.255         On-link         127.0.0.1   4531
  127.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
     192.168.20.0    255.255.255.0         On-link    192.168.20.208   4506
   192.168.20.208  255.255.255.255         On-link    192.168.20.208   4506
   192.168.20.255  255.255.255.255         On-link    192.168.20.208   4506
        224.0.0.0        240.0.0.0         On-link         127.0.0.1   4531
        224.0.0.0        240.0.0.0         On-link    78.131.150.133   4511
        224.0.0.0        240.0.0.0         On-link    192.168.20.208   4509
        224.0.0.0        240.0.0.0         On-link     78.131.149.70     26
  255.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
  255.255.255.255  255.255.255.255         On-link    78.131.150.133   4511
  255.255.255.255  255.255.255.255         On-link    192.168.20.208   4506
  255.255.255.255  255.255.255.255         On-link     78.131.149.70    281
===========================================================================
My client config:

Code: Select all


client
auth-user-pass

dev tun
replay-persist test.cache

proto udp

remote XXX 443
resolv-retry infinite

nobind
persist-key
persist-tun
pull

ca ca.crt

comp-lzo

verb 3
mute 10

redirect-gateway
auth-retry nointeract
route-method exe
route-delay
I can ping my gateway via VPN, but i would like to have internet access by VPN.

In windows XP works fine!!

Even i manually delete all default route and add new default route 0.0.0.0 mask 0.0.0.0 78.131.150.129 it will by add by the metric is very big. Manual insert metric doesn't work for me.. ;/

Any ideas?

Bless !



.

Post Reply