Installer – Lars Werner

Installer

 

Warning: This version is based on original binary release and contains several bugs. Please use the SVN version instead!

The installer uses the NSIS-installer, thanks a lot for this guys!

Requirements

* Java Runtime Enviroment v1.7.0 or older! (Note that Java v1.8.0 is not supported)

Read changes needed for version Java v1.7.0!

* 25-30MB of space

* Little network & config knowledge

Download installer

* Version 0.9.1 (alternative: zip)

Note: The installer contains tools.jar so the required JDK isn’t needed for installation. Pretty stupid with a 65MB installation just to get this 12MB file

If you are looking for the Adito SVN-version, download here

Step-by-step guides

For the guide on how to install it, read below!

For a guide to set up RDP to your Adito server, check here

Download NSIS Installerscript – developers only

I finally got around to release the OpenVPN-ALS (Adito) installerscript!

Download it here (21,6MB)

If you are use the Installer script, here is the deal:

* I want to be credited, linked back here…

* You publish the new installer web references here!

* I’ll add it to the page so others can play around with your release!

That would be great for the community, and probably fix a bug or two for those who problems installing this 🙂

Usage:

1. Download & Install NSIS

2. Extract “Includes to NSIS.rar” to %programfiles%NSISInclude

3. Use a decent NSIS Editor, like HM NIS Edit (It does have a simple, but good, IDE!)

4. Play around in the AditoInstaller.nsi file to see what it does

5. When you are stuck use NSIS Docs and Wiki

Don’t cry when you mess up, redo!

Troubleshooting

I don’t know anything at the moment, use the comments-field

Uninstaller

It will remove EVERYTHING! Please use with caution especially after you customize.

Reinstall

I have successfully reinstalled above the old version without problems so if you are upgrading, stop the service/console and just install above the old one.

Also check out this wiki on how to make a copy of your config

Step-by-step information

1. Welcome screen

Welcome

2. License and information regarding licenses

License

3. Java-check, this will look for register-entries regarding the JRE and notify you if you don’t have java-installed.

Java checker

4. The destination path for the installation

Destination

5. Status-progress of the file copying

File copying

6. Webconfiguration of Adito (Now called OpenVPN ALS), please read!

Adito webconfig

After starting this configuration you will have a command-prompt that again will open a browser window with the config. Here is the command-prompt running the config

Webconfig running

The browser should lead you to this page

Webconfig browser

Run through the wizard it should be easy to understand. Questions regarding the config, use the Adito (OpenVPN ALS) Wiki

7. Run adito (OpenVPN ALS) as service is the most common way. The example shows that it doesn’t install it as service but that is just to show the next frame 😉

Adito as service

8. Run in console fires up the Adito (OpenVPN ALS) in a command-prompt

Run adito in console

9. Finished!

Adito install finished

 Posted by at 19:37:38

  109 Responses to “Installer”

  1. The Installer doesnt work on win7x64 with JDKx64 installed it tells me I dont have a JRE :S

  2. […] Or you can use adito (easier to setup than HAP) Reply With […]

  3. Lars,

    I just found your site when looking for SSL-Explorer – thanks for wrapping up all the hard work 🙂

    It looks like even the Adito project and OpenVPN-ALS project material is pretty dead, and 3SP is gone.

    Do you know if Adito should work with Active Directory? I’m assuming it does since it hasn’t been stripped out, however, when trying to configure it on “Step 2 – Configure User Database” I get an error in the top right: “User database could not be opened. Internal Error”. Any chance anyone knows what this is? I’ve tried on the options tab setting Service Authentication type to default (GSS-API) and Simple with LDAP string, neither work.

    Thanks,
    Andy

  4. adito-0.9.1 and your reverse Proxy patch to the Agent.
    Works Great on RHEL6 with a little tweaking to Apache.
    A solution ahead of its time.
    Are you still actively involved in this.
    Seems like most 9 to 5’ers have moved on to other jobs, but it does fit
    a need with our customers. I am having some issues with Win7 Clients, but I figure I will have resolved
    before end of week. Overall your Patches and Contributions have been extremely Valuable to my efforts.

  5. Hi all, i have tried Setup Adito in window XP at internal network and apparently almost all function is ok except web forward. After that i setup another Adito at my Public DMZ zone in Suse as requested by my boss using same configuration except i am not using Proxy since i locate it in DMZ zone. but this time no matter how i configure it, Adito agent keep on failed connect. its not sync and it make almost all the function is not accessible.

    this error occur when i try to launch Adito agent;

    21-12-2011 15:36:45 [main-20] ERROR RegisterClientSynchronizationAction – Registration of agent did not occur when the specified timeout of 60000ms
    21-12-2011 15:36:45 [main-20] ERROR ExceptionHandler – An error occured during action processing.
    EOFException(java.net.SocketException: Connection reset)
    at org.mortbay.http.BufferedOutputStream.flush(BufferedOutputStream.java:205)
    at org.mortbay.http.HttpOutputStream.flush(HttpOutputStream.java:477)
    at org.mortbay.jetty.servlet.ServletOut.flush(ServletOut.java:61)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:141)
    at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
    at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
    at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
    at java.io.BufferedWriter.flush(BufferedWriter.java:254)
    at org.jdom.output.XMLOutputter.output(XMLOutputter.java:403)
    at org.jdom.output.XMLOutputter.output(XMLOutputter.java:203)
    at com.adito.core.actions.XMLOutputAction.sendDocument(XMLOutputAction.java:53)
    at com.adito.core.actions.XMLOutputAction.sendError(XMLOutputAction.java:45)
    at com.adito.agent.actions.RegisterClientSynchronizationAction.execute(RegisterClientSynchronizationAction.java:114)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    at com.adito.core.CoreRequestProcessor.processActionPerform(CoreRequestProcessor.java:198)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at com.adito.core.CoreRequestProcessor.process(CoreRequestProcessor.java:129)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:594)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:426)
    at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:831)
    at com.adito.core.filters.CompressionFilter.doFilter(CompressionFilter.java:82)
    at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:822)
    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:472)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:555)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1562)
    at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:622)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1514)
    at org.mortbay.http.HttpServer.service(HttpServer.java:955)
    at org.mortbay.http.HttpConnection.service(HttpConnection.java:813)
    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:980)
    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:830)
    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:243)
    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:356)
    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:533)

    • Hi Charles
      I don’t have any experience with Adito in Suse.

      But it might be something with the DNS (reverse) queries?
      In these cases I only use the ip to connect to and then it works OK…
      Sometimes it only works from the internet, because of the DMZ-rules etc, many config options though.
      Here is a thread with similar problems: http://sourceforge.net/projects/openvpn-als/forums/forum/824507/topic/3017699

      The timeout error is typical error saying that the client did not get response in a given time.
      Usually errors is that a host that cannot be found or route to host isn’t established.

      Try connecting with telnet directly to 443, then run a route to check if there is something between blocking.

  6. During installation on Windows 2008 Server R2, the Finish button on “Step 6 – Summary” screen doesn’t work correctly. Instead of completing the installtion, the summary screen is loaded again and the form’s buttons don’t respond to mouse clicks.

    Have you come across this?

    • Hi Alan

      I’ve never heard of it before…
      The summary screen doesn’t do much, so I guess killing the installation there should work.

      I don’t have a W2k8 server to test it on, so I dunno what is wrong.

    • Same issue… on W2K8 R2… apparently this is caused by IE9.

      Switch it to compatibility mode and it works fine.

      BTW… before I could install I had to install Java 6 32bit… apparently it doesn’t recognize the 64 bit version (while this works fine with other Java programs).

      • Soon I’ll have a virtual machine to test on…
        Is it hanging while its in the browser?

        The installer doesn’t really check for 64-bit, I’ll have to add it to my todo-list on that one.
        I guess if you uninstall 32-bit java afterwards, it still works fine?

        • Yes, it hangs while in the browser (the Finish button doesn’t react). I don’t think you need a virtual machine to test, just install IE 9 and you’ll probably have the issue. It’s not related to 2008 itself.

          I’ll uninstall Java 32 bit to test…

        • I uninstalled Java 32bit which resulted in a failure to start the service again, however this was easily fixed by chaning the wrapper.conf file to point to the correct JRE.

  7. Hi Friends,

    new to Adito VPN – have setup up Adito on Windows – trying to host file shares -can anyone help with documents –

  8. Paco:
    Thnx for the tip! 🙂

    Robert:
    Try to open a commandprompt and type java.exe if it shows:
    Usage: java [-options] class [args…]
    (to execute a class)
    (…)

    Then Java is installed correctly, if not reinstall java. Make sure that java-install and adito-install is running as administrator…

  9. This crap is saying that java.exe is not recognized as an internal or external command.

    Windows 2008 r2 , java 1.6

  10. 4) Open it with wordpad and change the following definitions:
    definition type=”7″ name=”client.tunnel.inactivity” typeMeta=”s”
    category=”10″ defaultValue=”10800000″ visibility=”1″ sortOrder=”65″

    definition type=”1″ name=”webServer.sessionInactivityTimeout”
    typeMeta=”” category=”70″ defaultValue=”180″ visibility=”1″

    In this case I have increased the timeout to 3 hours. Note that in client.tunnel.inactivity time is set in milliseconds, whereas in webServer.sessionInactivityTimeout time is set in minutes.
    5) Compress the adito-webapp folder in zip format and name it as adito-webapp.jar
    6) Change the old adito-webapp.jar file in the original location with the new one.
    6) start adito service

  11. 4) Open it with wordpad and change the following definitions:

  12. Hello:
    First of all, thank you for this installer. It works great in my w2003 server. I have found the way to change default adito agent timeout and want to share this information.

    To modify the timeout of the adito agent tunnel activity you have to change 2 properties which are located inside the
    file C:\program files\Adito\webapp\WEB-INF\lib\adito-webapp.jar. Before doing anything it is recommended to
    make a backup of this file in a safe place, just in case.

    To modify the adito agent timeout:
    1) stop adito service
    2) Uncompress C:\program files\Adito\webapp\WEB-INF\lib\adito-webapp.jar
    3) Locate file META-FILE\profileProperties-definitions.xml inside the uncompressed folder
    4) Open it with wordpad and change the following definitions:

  13. Thanks for your work!
    Found this via a recommendation on youtube by “Hak5Darren”.
    I´ll try this within the next days and leave another comment.

    Best regards from germany to norway.

  14. Thanks for the tip. I’ll save godaddy cert for something else.
    Cheers!

  15. Lou:
    Sorry no, I just bought a RapidSSL certificate from namecheap.com and imported the bastard. That worked fine

  16. I am running Adito on a Win2003 server. All is working very well. I was hoping to use GoDaddy.com for an SSL cert for my OpenVPN-ALS/Adito m, but GoDaddy needs a CSR of 2048 bits and Adito’s CSR is 1024 bits? Is there away to get a 2048 bit CSR generated?

    Thanks.

    – Lou

Leave a Reply

%d bloggers like this: