


We assume you have already flashed OpenWRT 19.07.0 or newer on your router to follow this tutorial. EDIT /ETC/DEFAULT/STUNNEL4 vim /etc/default/stunnel4ĮNABLED=1 6. With this guide you establish an OpenVPN connection which is stealthed using stunnel. CREATE STUNNEL.CONF UNDER /ETC/STUNNEL/ vim /etc/stunnel/nfĪccept = 443 #accept port, coming from stunnel clientĬonnect = 127.0.0.1:1194 #1194, which is openvpn port 5. However, I do see a lot of chatter coming from stunnel logs. We are not sure if this is due to additional connections overloading or because of stunnel. Openssl req -new -x509 -key key.pem -out cert.pem -days 1095Ĭat key.pem cert.pem > /etc/stunnel/stunnel.pem 4. Create a Self Signed Certificate for Stunnel (OpenSSL) Stunnel uses SSL certificate to secure its connections, which you can easily create using the OpenSSL package: Using stunnel in client mode (i.e., stunnel is not acting as an SSL server) means you (the client) probably dont need to present a valid certificate (to the server). However, after setting up stunnel for haproxy, 1 week later, we found our server seems to be having massive overloading problem.

*For OpenVPN Access Server, make sure the network settings for ‘Listen on all interfaces’ is on.
#Stunnel tutorial how to
Hello, here is simple step tutorial how to install Stunnel for OpenVPN.
