Back to Blog
Stunnel openssl 1024 20486/12/2023 ![]() You were right, I had some typos in the blog post (not in the actual conf files). ![]() Thu Feb 5 19:51:27 2015 Connection reset, restarting Thu Feb 5 19:51:22 2015 SIGUSR1 received, process restarting Thu Feb 5 19:51:22 2015 Connection reset, restarting Thu Feb 5 19:51:21 2015 Control Channel Authentication: tls-auth using INLINE static key file Thu Feb 5 19:51:21 2015 WARNING: this configuration may cache passwords in memory - use the auth-nocache option to prevent this But if I try to connect using stunnel, I got: If I connect from openvpn to openvpn, everything works fine. Tls-auth /etc/openvpn/easy-rsa/keys/ta.key 0 # overriding but not wiping out the original default gateway. # Override the Client default gateway by using 0.0.0.0/1 and Push “dhcp-option DNS 192.168.1.1” # This should already match your router address and not need to be changed. # If your router does not do DNS, you can use Google DNS 8.8.8.8 # Set primary domain name server address to the SOHO Router Push “route 192.168.1.200 255.255.255.0” # SWAP THE IP NUMBER WITH YOUR RASPBERRY PI IP ADDRESS # Add route to Client routing table for the OpenVPN Subnet # Add route to Client routing table for the OpenVPN Server Key /etc/openvpn/easy-rsa/keys/raspberrypidos.key # SWAP WITH YOUR KEY NAMEĭh /etc/openvpn/easy-rsa/keys/dh1024.pem # If you changed to 2048, change that here! Local 192.168.1.200 # SWAP THIS NUMBER WITH YOUR RASPBERRY PI IP ADDRESSĬert /etc/openvpn/easy-rsa/keys/raspberrypidos.crt # SWAP WITH YOUR CRT NAME My setup is:Ĭlient -> localhost 1194 -> client stunnel 443 -> server stunnel 443 -> localhost 1194 # this is the OpenVPN client configuration # C:\Program Files (x86)\OpenVPN\config\raspberry_via_stunnel.ovpn # in Windows, create a new text file called # right click on stunnel icon, and click reload nf # Notepad will opened automatically, to edit the nf file…Ĭonnect = change_this_to_your_to_raspberry_PI_server_address_from_:993 # Do a right click on it, and choose “Edit nf” # Now you should see the stunnel icon also on the taskbar. # On windows, you should see an stunnel icon on your desktop, run it as administrator. # Installation shouldn’t be a problem… it’s a few clicks # You can download stunnel installer from the official website # Installing
0 Comments
Read More
Leave a Reply. |