This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SSL VPN not working - Connection timed out

Hi,

i'm a new user of Astaro Security Gateway, using 7.402 
(software appliance set up in a mini-itx case with 3 Gb Network ports).

I already was able to get PPTP up & running, but as this isn't encrypted, i would like to try out SSL VPN.

I set up the SSL VPN using the tutorial that can be found in the knowledge base, the only changes i made was in the encryption algorithm (AES-256-CBC), the authentication algorithm (SHA1) and the key size (2048 bit).

I downloaded the client from the user portal on my laptop, connected my laptop on an unsecure wireless network in my neighbourhood, and tried to connect:

TCP: connecto to :443 failed, will try again in 5 seconds. Connection timed out 

I already searched the forum, and read about everything i found, but i didn't find an answer.

The log file is attached.


This thread was automatically locked due to age.
Parents Reply Children
  • are you able to check the astaro's log files and see if it even reaches the appliance?

    it looks to me as if the network doesn't let you connect on that port. Have you tried surfing to some ssl sites using that "unsecure" wlan?
  • -> I did not add any masquerading or DNAT rules concerning SSL VPN.

    but may be you DNAT a simple webmail-ifc or similar on 443 ???
    a.
  • Hi,

    thanks for replying [:)]

    First off, i don't have any DNAT or packet filter rules concerning port 443.

    Well, actually, i have the automatic packet filter rule for web surfing active, which includes HTTPS (internal network -> Web surfing -> Any)

    For the other question, if the network allows surfing on https, i'm quite sure, but i'll check it out this evening, ie in an hour.

    What logfiles should i check to see if it reaches the Astaro? I checked some of the logs, which seemed the most obvious (Packet Filter, IPS, OpenVPN), but didn't see a trace there.
  • When you are on your neighbor's wireless connection, can you ping your Astaro's external IP?  Is the 'Override Hostname' on the 'Settings' tab blank, the same as or different from that on the 'Hostname' tab of 'Management >> System Settings'?  What deos the OpenVPN Live Log say in the Astaro?

    Cheers - Bob
  • Hi Bob,

    I can ping my external ip without any problems from the other wlan.

    I had indeed something different in the hostname, but i changed it to my dyndns domaine, and made the ssl settings override blank, after which i downloaded the file again from the user portal to my laptop, and tried again.

    But still the same [:(]

    The OpenVPN log doesn't say anything...

    Do i have to add some DNAT/masquerading/packet filter rules, other than the "automatic packet filter rule" in the global tab of SSL?
  • Did you delete the 'Local X509 Cert' and regenerate it? Before re-downloading the installation package, go to the 'Advanced' tab and re-select the 'Local X509 Cert'.

    Did that do it?
  • OK.

    I did what you asked, but still the same problem.

    When i try to use the vpn from inside my network, he now connects successfully, however, so it's improving [;)]

    With the help of you guys, i might get to use vpn some time soon [:D]
  • I had this same problem and figured it out.

    On the client system, edit the *.opvn file setting in the C:\Program Files\Astaro\Astaro SSL VPN Client\config\  dir.   Use wordpad.    Find the line that references "remote  443    change the hostname to the ip to the interface to your astaro gateway.  In my case, I have 3 net cards:  one for internal wired clients, one for wireless, another for wan.  Sitting on the wireless network, when I attempted to connect to the vpn, the auto conf client settings was trying to get to internal IP address for the astaro gateway.  You can't access the internal IP from the outside or other network without special rules (that you don't want to setup anyway).  The client interface is lacking the IP / hostname setting to adjust for this.

    Cheers
  • I don't think that's the problem here.

    As i am trying to connect completely from the exterior, eg from my job or anywhere in the world, and not from an interface on my Astaro.

    So i need to use the dyndns address, which resolves correctly to my current external ip address.

    But i still get the same problem :'(

    Anyone?
  • I don't think that's the problem here.

    As i am trying to connect completely from the exterior, eg from my job or anywhere in the world, and not from an interface on my Astaro.

    So i need to use the dyndns address, which resolves correctly to my current external ip address.

    But i still get the same problem :'(

    Anyone?


    So your hostname resolves to the right public ip.  Do you have anything infront of your astaro firewall ?  a nat'd router?    Can you copy/paste the live log for the vpn and also for the packet filtering when you try and connect?