how to connect website to raspberry pi vpn (background login)

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
clivesgt
OpenVpn Newbie
Posts: 1
Joined: Wed Mar 25, 2020 8:45 am

how to connect website to raspberry pi vpn (background login)

Post by clivesgt » Wed Mar 25, 2020 9:00 am

hi

i need to make a secure connection between an esp32 (microcontroller) connected wirelessly to my router and my website on the internet.

i am thinking of using a raspberry pi with piVnp as a VPN.

is there a way i can connect the website (logging in to the vpn in the background so that the user is unaware of the login process) to the vpn so that i can communicate securely with the esp32? i want the website to be open to the public. i would probably be using XMLHttpRequest(), javascript fetch or axios to communicate between esp32 and the website.

thanks

Post Reply