Currently when a user connects using OpenVPN AS server to Amazon AWS, the security groups permit access based on the IP Address of the VPN Server, not the IP address given to the client by the VPN server.
This seems to be the same as mentioned here
https://openvpn.net/index.php/access-server/docs/admin-guides-sp-859543150/howto-administration/215-how-to-setup-routing-in-openvpn-access-server.html
On the previously mentioned page, it indicates this can be changed by using Advanced Routing.
Yes, using routing (advanced): VPN Clients can access private subnets, and it is the virtual address of each VPN Client that is used as the source address on client packets destined for private subnets. Routing must be configured on hosts on the private subnet(s) so that response packets can be routed back to the VPN Clients via the Access Server host's IP address on the private subnet.
Problem is, it says yes you can do it but then doesnt provide any information or links to what needs to be setup on the server.
So my question is where can i find out the information about what needs to be configured on the server side (in OpenVPN AS or iptables) to support this ?
Thanks in advance.