I'm interested in setting up a VPN server on Amazon EC2 to act as a VPN server. It's important that clients connecting to the VPN get an IP from the AWS VPC so that we can establish connectivity to and from any EC2 servers to the VPN clients.
The use case is offloading development environments to a Kubernetes cluster running in the cloud, while still running some code locally.
Currently, we have a VPN setup with Softether that uses DNSMasq to provide a local DHCP server. Our EC2 servers get an IP in the range 10.x.x.x.x range , but VPN clients get an IP in the 192.168.x.x. range, which prevents EC2 servers from sending traffic directly to the VPN clients.
Since I'm not well versed in networking, I'm not sure how to accomplish this. Can anybody give me some pointers?