Mar 15

 OpenVPN+GUI (openvpn-2.0.9-gui-1.0.3) in client mode will connect to the remote OpenVPN server, but will not accept the routes. Error in the log is as follows:

ROUTE: route addition failed using CreateIpForwardEntry: One or more arguments are not correct. [if_index=18]
Route addition via IPAPI failed

Solution:

add the following to the end of the configuration (ovpn) file:

route-method exe
route-delay 2

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Add to favorites
  • LinkedIn
  • Live
  • StumbleUpon
  • Yahoo! Buzz

written by MG \\ tags: ,


17 Responses to “Vista and Win 7: OpenVPN route problem”

  1. 1. cristi Says:

    It works on Windows 7. Thank you!

  2. 2. John Says:

    Thank you! You often write very interesting articles. You improved my mood.

  3. 3. Parker Says:

    Tried it – added
    route-method exe
    route-delay 2
    to the ovpn config file … and still am not able to get online using Witopia ovpn sw.

    Suggestions?

  4. 4. MG Says:

    i don’t know how Witopia works.. sorry.. I use my own openvpn server on linux.

  5. 5. Lourens Says:

    Hi MG, after adding “route-method exe” and “route-delay 2″ to my config, the above error is gone – thank you – although I still cannot rdp the VPN site – doing the same under XP it works – Windows 7 is a problem.

    Please help.

  6. 6. robert Says:

    Find OpenVPN GUI icon, press shift, right click on icon and select “Run as administrator”. Now works perfect!

  7. 7. MG Says:

    I use windows 7 and i don’t have this problem.. maybe because my accout has administrative rights.

  8. 8. Paul Says:

    thank you.

  9. 9. Michael Says:

    Whole day of trying and then: google found solution. Thanks MG.
    openvpn 2.1.1 was supposed to fix this problem. Unfortunately it didn’t.
    Thanks again.

  10. 10. Etienne Says:

    Windows Vista needs Open VPN GUI to run as administrator… so right-click openvpn GUI and select ‘run as administrator’ and you should be fine.

  11. 11. adi Says:

    YESSS !!!
    route-method exe
    route-delay 2

    ITS WORKK!!!
    thanks..

  12. 12. clare Says:

    I’m trying to use this fix on a vista laptop – but when I right click on openvpn the “run as administrator” check-box is greyed out. I’ve tried switching off UAC but it didnt do anything.

  13. 13. Mike Says:

    I have been trying to figure this out for a very long time! Thanks so much!

  14. 14. Nick Says:

    You are a life saver! :) Many thanks!

  15. 15. philipscuong Says:

    Thanks for ur help !

  16. 16. michalj Says:

    Thanks mate! Works great on W7. May I ask how did you figure it out?

  17. 17. MG Says:

    Google is my friend :)

Leave a Reply