Score:0

Strongswan remote_ts as 0.0.0.0/0, now I can't access my vps

mo flag

I have a vps, and I tried to install a site-to-site vpn using stronswan and swanctl, I accidentally put remote_ts to 0.0.0.0/0 and now I can't access my vps through ssh.

How can I regain access ?

vidarlo avatar
ar flag
Use the OOB solution provided by your service provider. Most solutions have a OOB solution via e.g. VNC that allows you to interface the console.
Mohammed Hafiz avatar
mo flag
Thank you, is there any other solution as I have no access to the OOB
vidarlo avatar
ar flag
No, not really, if you can't connect via the normal means you have to somehow bypass the network stack - and that means the console usually.
Mohammed Hafiz avatar
mo flag
I tried to make a vpn connection from my local, but it gives me NO_PROPOSAL_CHOSEN when I am sure I put the same ike and esp proposals on both, can it be caused by the ip not the same as the one configured in the vps ?
Mohammed Hafiz avatar
mo flag
Ok i will try to do that from console
Mohammed Hafiz avatar
mo flag
@vidarlo I tried to access from upcloud console, but I didn't configure the server with password, just ssh keys. Now how can I solve this?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.