1 year ago
#77230
DMvic
Set up connection to VPN on Amazon Lightsail app
I've got an server on AWS using Lightsail that uses Linux/Django OS/app combination. I need to use the Django framework to create a function that will take requests coming into the server, and forward them on to another API. This API is only accessible through a VPN.
I believe that by just connecting my OS to the VPN any requests my Django app sends should go through the VPN (in theory, please correct me if I'm wrong), however I am unsure how to connect to the VPN using just the Linux command line. I have the server name, a username and password, which I can connect to fine on my Windows machine by just adding a VPN connection.
Is anyone able to advise if it is possible to connect this OS provided by Amazon Lightsail to a VPN, and if so how to do so in order for me to able to route HTTPS requests to the API behind a VPN!
Thanks, hopefully I'm posting this in the right place!
django
linux
command-line
vpn
amazon-lightsail
0 Answers
Your Answer