Connect to VPN using Amazon Lightsail instance

0

I have a requirement to set up an application as middleware to which I can make HTTPS requests, which will then forward my requests to the API I wish to reach which is behind a VPN.

To that end, I've created a Django app with Amazon Lightsail, whose OS I am trying to connect to a VPN using the command line. I have set up a connection using nmcli, the output of that connection when checking system connections I've pasted below (I've replaced the actual servername with servername.com) The error I get is : "Error: Connection activation failed: Could not find source connection."


id=myID
uuid=34a5a7b4-4af1-4224-89b5-8a488a559ce3
type=vpn
interface-name=servername.com
permissions=
 
[vpn]
gateway=servername.com
service-type=org.freedesktop.NetworkManager.pptp
user-name=myusername
 
[vpn-secrets]
password=mypassword
 
[ipv4]
dns-search=
method=auto
 
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto
bitnami@ip-172-2

I'm unsure as to why the connection is throwing that error as I don't know what the best way to get to source of the issue is. The only thing I can think of is that the server name hasn't been entered properly into the VPN details, but I'm unsure how to verify that.

Linux version is 4.19 and the VPN is PPTP. Can anyone see anything I am doing wrong, or have ideas what I should look for?

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠