The Tunnel Man Mac OS

broken image


Stunnel is a SSL wrapper for those web services which could not deploy SSL directly. I am using Ratchet for websocket, and it does not support SSL. So I found this wonderful tool!

Home / Networking / Establishing an SSH Tunnel to Remotely Access a Mac Using AFP and VNC The ability to remotely access a computer on a home network while. How to configure OpenVPN on Mac OS X using Tunnelblick? Written by Sathish Updated over a week ago Mac OS X OpenVPN Setup Instructions. Once connected to VPN, the Tunnelblick icon will change from a dark tunnel to a lit tunnelTo disconnect click on the Disconnect button.

The Tunnel Man Mac Os Catalina

The tunnel man mac os catalina

The Tunnel Man Mac Os Sierra

Stunnel listened SSL connection on the accept ports, then strip the SSL, and forward it to the connect ports.accept and connect are defined in the stunnel.conf.

stunnel package download from Rudix, or use homebrew, or mac-port.Very convinient to install!

If you use Rudix pacakge to install, the binaries of stunnel and stunnel3 will be installed in /usr/local/bin/.

However, it is not easy to find its installed place. You can't find it by using ‘whereis' or ‘which'! Castle defense (wolfy7) mac os.

But luckily, you can just run:

The Tunnel Man Mac Os X

and the prompt will give you enough information. Such as where is the location of the stunnel.conf is /usr/local/etc/stunnel/stunnel.conf.

Specify the group priviledge. Add the group ‘stunnel' and a user ‘stunnel' in this group. Then change the stunnel.conf.

Specify the location of the certificate and key. We will generate the certificate later.

The Tunnel Man Mac Os 11

Stunnel is default to run in a daemon mode (which means in the background.) However, for the sake of developers, we can make it run at the foreground and to see the log.

After all the deployment, we can now test the 443 to 80.

If you want to use web socket, you can listen to the 8443 port for imcoming 'wss', and run websocket service at the 8081 which only accept connection from localhost.

Note that the Common Name for the certificate is exactly the same as your host address. If you are develop your localhost server, your can specify ‘localhost'.

Now you can try to connect to the port 8081 in the javascript console of a browser such as Chrome and Safari.

Unfortunately, the connection will not be able to establish at this moment. It is simply because the browser does not trust the certificate. To solved it, let's add the certificate to the keychain access.

Now that the browsers (Chrome and Safari) will acknowledge the certificate, and the connection will establish. Enjoy. :)

Please enable JavaScript to view the comments powered by Disqus.



broken image