Discussion in 'Tomato Firmware' started by Vezado, May 30, 2009.

  1. Vezado

    Vezado LI Guru Member

    The people in this forum have been outstanding in helping me to learn about Tomato and specifically about the TomatoVPN functions. I was hoping to give back something small for anyone who's interested...

    Basically, i liked the GUI that Mathias Sundman has provided but I didn't like the program icons or the tray icons. I think the tray icon using the "2 screen" icon is a little misleading because i expected it to function like the LAN icon used by XP, showing send and receive traffic.

    I've repackaged it with my own icons and made a few small changes to the GUI. Here's my list of changes, hopefully i remembered it all:

    • New program icons
    • New tray icons
    • All dialogs now support cleartype rendering (changed to 'MS Shell Dlg 2' font), except for the status messages which i left alone.
    • The status window now hides all progress messages by default, if need to see the progress info for troubleshooting you can simply resize the window and it will appear.
    • All executables and .dll files have been UPX compressed, so the total installation size is roughly half of the original version.
    • Some instances of 'OpenVPN GUI' have been changed to 'OpenVPN' unless the distinction was needed. The fact that it is a GUI is self evident imho.

    [​IMG] [​IMG] [​IMG] [​IMG]

    Any feedback is appreciated. All thanks should be sent to the REAL creaters of this great piece of software, Mathias Sundman and the OpenVPN team. I just added a little makeup.

    Don't forget to rename the TAP adapter to whatever it was on your previous version.


    FIRST VERSION, OpenVPN 2.09 + OpenVPN GUI 1.03:

    Update: OpenVPN 2.1rc18 + OpenVPN GUI 1.03:
    Openvpn GUI 1.03 only:

    Attached Files:

  2. ng12345

    ng12345 LI Guru Member

    I like the icons; I started doing this; but don't need to with your work!!

    You should send this to the developers as well as the original openvpn gui creator; maybe the changes can be integrated upwards (esp given that the openvpn site has recently undergone a pretty significant design overhaul)
  3. baldrickturnip

    baldrickturnip LI Guru Member

    looks good

    will give it a try.

    what methods are there to start an openvpn connection on windows startup ?
  4. Vezado

    Vezado LI Guru Member

    Thanks, I'm glad you like it. I'll consider sending it to the author, but it looks as if he hasn't worked on the app for several years so i don't know if it is an active project or not.

    By default, the app will start itself at bootup but it won't open a connection. If you want it to do so, just run regedit and navigate to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run (the extra space in current is added by the forum, not me) :confused:

    change the value for openvpn-gui from:
    C:\Program Files\OpenVPN\bin\openvpn-gui.exe

    C:\Program Files\OpenVPN\bin\openvpn-gui.exe --connect "my connection.ovpn"

    Even if your .ovpn file is in a subfolder of the config folder there is no need to specify a path, the app will find it.

    btw, are you near nonthaburi? Pak kret sounds familiar.
  5. remarks

    remarks LI Guru Member

    Thanks for the icons... I always hated the OpenVPN ones.

    Vezado's build doesn't seem to work with Windows 7 RC. I found that this one does if you install with Admin privileges and Vista compatibility. It has TAP-Win32 Adapter Version 9 included:

    Then install Vezado's package and just select to install the OpenVPN GUI.

    Cheers. J
  6. Vezado

    Vezado LI Guru Member

    Thanks for letting me know about this. I've repackaged the app with rc17 binaries and drivers from rc15. There's something amiss with the rc17 drivers, i can't even get them to install. The newer binaries are a bit larger but nothing to worry about too much. Try installing again on Win7 and let me know if it works for you.

    I have no idea if the x64 driver is working, if someone could test on XP64 and Vista64 i would really appreciate it. If it doesn't work and someone does know which x64 TAP driver is best, please let me know and i'll use that instead.

    As luck would have it, OpenVPN redesigned their site so i've updated the icons again to keep the whole look "consistent".

    The download link is in post#1, openvpn-21rc17-gui-103-install
  7. baldrickturnip

    baldrickturnip LI Guru Member

    I tried the new GUI and while the icons are nice , I was having some problems with my multiple tap interfaces - I will give it another try again when I get time.

    the other issue I see is now you do not have the connection messages which can be helpful for faultfinding - I usually watch for the initial packet received message and then know that the server is up.

    yes , Pak Kret , in a moobarn off Cheang Wattana road - you might notice another member Toastman is here in Krung Thep also.
  8. Vezado

    Vezado LI Guru Member

    The connection messages are still there, you just need to resize the window to see them. Since I only needed them for troubleshooting, i liked the clean look of the smaller window and the basic connection status (ie 'Current state: Connecting").

    You might try the new version i just posted and see if it fixes your problems with the multiple tap interfaces. A lot of the files have been updated.

    Quite the thai expat presence on this forum, i'm in Chiang Mai myself.

  9. remarks

    remarks LI Guru Member

    Working fine here on 32bit Windows 7 Build 7100.... thanks from Beijing CBD ;)
  10. ng12345

    ng12345 LI Guru Member

  11. Vezado

    Vezado LI Guru Member

    I'll update it when i get a chance, but i'll be busy for the next few days. Report back if you have any stability issues with rc18.... Thanks
  12. ng12345

    ng12345 LI Guru Member

    No stability issues on the client side as of yet; whenever you get a chance would be great; i integrated your older gui into my install package and it is working great; i do like the new shaded icon that you have in the "updated" version however your download link is dead.

    thanks for your work
  13. Vezado

    Vezado LI Guru Member

    Sorry, i didn't read your first post carefully and i just now noticed that you only wanted the GUI. In my haste to get it updated I accident grabbed 2.0 rc18....and wasted a long time editing the an old version. I added the GUI itself to the OP, i'll try to update the installer soon.
  14. kenyloveg

    kenyloveg LI Guru Member

    Hi, Vezado
    Just noticed that OVPN released a new build.

    Changelog for 2.1 is here

    And the direct download link is
  15. occamsrazor

    occamsrazor Network Guru Member

    Hi, I really like your customised OpenVPN client, the icons are much nicer than the default ones. The only thing I don't like is that the progress window is minimised by default (I know this was mentioned before and you said you preferred it this way). Is there any way I can easily change it so the progress window opens the normal way?

    It's for sure an improvement over the standard windows OpenVPN client, but as someone who also uses OpenVPN on Mac, I miss the Mac OpenVPN clients which are 10 times better than anything on Windows. Anyway, keep up the good work, and thanks.

    PS - The OpenVPN clients one can use on Mac OS X are:

  16. baldrickturnip

    baldrickturnip LI Guru Member

    Vezado has a link there to just the GUI installer so if you just install the openvpn package without GUI and then install the stand alone GUI installer from Vezado's link it should be just fine.

    if you already have the GUI installed , just update the openVPN package and it should be fine . I think the GUI just runs on top and is not integrated.
  17. someguyfromhell

    someguyfromhell Addicted to LI Member

    Is there any chance you'll post the new code or update the installer for 2.2?

  18. Vezado

    Vezado LI Guru Member

    Are there any functional differences? I've switched over to Ubuntu so I haven't updated the Windows client for a bit. My staff is still using the older windows version. If there are some big improvements I would consider redoing the whole installer but if not...

    At the very least, I can provide a replacement for the main gui.exe, that's where all the changes are anyway. I'm busy at the moment so don't expect anything soon, sorry.

    If you're feeling like doing your own mods, it was actually very simple. I did the whole project using an image editor + IcoFX to create new system and tray icons, then used ResHack to replace the current icons. I also used ResHack to resize the progress window (which occamsrazor's didn't like). Just be careful with ResHack, it is a big buggy. If to try to save an app that is currently open it will corrupt it. Make small changes and save often.

    iirc, I also changed all dialogs to use "MS Shell Dlg 2" instead of "MS Sans Serif". "MS Sans Serif" doesn't support font smoothing and just looks bad to me. "MS Shell Dlg 2" is Tahoma on XP and i think Segoe UI on later versions, both preferable imho.
  19. occamsrazor

    occamsrazor Network Guru Member

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice