1
Virtual private networks / Re: "can't assign requested address" – opnSense on AWS
« on: October 24, 2024, 01:56:37 am »
Oh, I solved it. The local IP in OPNsense needs to be the private IP address and not the public Elastic IP. This is because the EIP is natted onto the EC2 instance and is not directly associated with any of the attached network interfaces.
When the traffic goes out from OPNsense, the other end of the connection only sees the EIP address, so it all works as expected.
When the traffic goes out from OPNsense, the other end of the connection only sees the EIP address, so it all works as expected.