Guest User!

You are not Sophos Staff.

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

SSHL/SSLH - tunnel ssh over ssl

Hi,

As my first post, I feel obligated to say what a fantastic solution ASG is for me. 

I am a home user, and so i'm an not surprised that I didn't find any specific answers to the following question, as its unlikely businesses would need or want this function. 
However, I do need to tunnel SSH over SSL in some scenarios so that I can access my home equipment from work which appears to block SSH traffic on any port.

Due to way that an SSH connection starts compared to SSL its very easy to detect a SSH connection on port 443. I used to achieve this with HAPROXY running on my webserver. However, now that I've moved to ASG - I really like having that control in a central space and to make use of ASG's webserver protection.

The is the only feature I've not yet been able to implement in ASG, so my first assumption is that it is possible - i've just missed something.
Or perhaps, it requires a custom rule outside of the webadmin interface.

Please give me some insight on this - (i need it working for tomorrow! [:O] )

Best,

Andy


This thread was automatically locked due to age.
Parents
  • This isn't solved in the sense that I have not worked out how to implement a SSHL server on ASG

    However this is solved in the sense that I have achieved everything that I need via SSL VPN and using HTTPS modes for git shell access from within a protocol controlled/limited network.

    For those interested in how an SSHL server might be implemented, here is the relevant section of my haproxy config:


    frontend port443
            bind :443
            tcp-request inspect-delay 5s
            acl traffic_is_ssl      req_ssl_ver     gt 0
            tcp-request content accept if traffic_is_ssl    # accept SSL
            use_backend ssl_backend if traffic_is_ssl       # re-route SSL
            use_backend ssh_backend if !traffic_is_ssl      # re-route SSH
                
    backend ssh_backend
            mode tcp
            server ssh :22
            timeout server 2h
            
    backend ssl_backend
            mode tcp
            server ssl :444
            timeout server 2h



    If I knew how to mark a thread as solve or mostly solved I would.

    thanks for all your help.

    Andy
Reply
  • This isn't solved in the sense that I have not worked out how to implement a SSHL server on ASG

    However this is solved in the sense that I have achieved everything that I need via SSL VPN and using HTTPS modes for git shell access from within a protocol controlled/limited network.

    For those interested in how an SSHL server might be implemented, here is the relevant section of my haproxy config:


    frontend port443
            bind :443
            tcp-request inspect-delay 5s
            acl traffic_is_ssl      req_ssl_ver     gt 0
            tcp-request content accept if traffic_is_ssl    # accept SSL
            use_backend ssl_backend if traffic_is_ssl       # re-route SSL
            use_backend ssh_backend if !traffic_is_ssl      # re-route SSH
                
    backend ssh_backend
            mode tcp
            server ssh :22
            timeout server 2h
            
    backend ssl_backend
            mode tcp
            server ssl :444
            timeout server 2h



    If I knew how to mark a thread as solve or mostly solved I would.

    thanks for all your help.

    Andy
Children
No Data