1
I am trying to make my Amazon EC2
instance have a different IP address by connecting to a VPN using openconnect
.
The connection is successful, but then my ssh
freezes and I get
"packet_write_wait: Connection to IP numbers: Broken pipe"
After that if I try to ssh
into the instance I get "Operation timed out"
message. Can someone advise on how can I achieve my objective -- make my EC2 instance appear to have an IP address that belongs to my VPN network? Thanks!
Update: trying to use Cisco AnyConnect
does not resolve the problem. As I understand, the problem is either due to some blocking by AWS
or because once the VPN connection is established, the EC2 instance must be accessed at its new address (but I don't know the exact IP address since VPN assigns a number from a large range).