AWS access server routing
Posted: Thu Aug 26, 2021 2:06 am
Hey All,
I have an ec2 openvpn access server within a vpc with two other ec2 windows servers. I was able to set up NAT just fine, however, the applications on the servers heavily rely on network shares and file transfers, and was suuuupper slow when more than one VPN client connected, so I decided to try to set up routing hoping that'll resolve the issue.
So here is my setup, I've got a VPC with a 10.0.0.0/16 CIDR, a subnet using 10.0.0.0/24(where the application servers are), the routing table allows 10.0.0.0/16 local and 0.0.0.0/0 to the internet gateway. Network ACL allows ports for openvpn, security group allows all traffic to make troubleshooting easier atm. Also in routing the main routing table is the vpn client subnet 10.1.0.0/24 thats pointing to the Openvpn Access Server Instance. I've set up each vpn client user with a static IP within this subnet (actually only one user for right now).
I've made sure to disable source/destination check on the openvpn access server ec2 instance.
In the Admin UI > Configuration > Network settings I'm listening on all interfaces, using multi-daemon mode, default ports.
Configuration > VPN Settings using routing, specified 10.0.0.0/16 as the subnets the clients should be able to reach, allowed internet traffic through vpn (i've tried with and without), clients allowed access to network services on vpn gateway.
Configuration > Advanced VPN allowed inter-client communication, disabled multiple sessions per user, TLS enabled, Private routed subnets 10.0.0.0/16.
The issue is, Im unable to communicate with the two other windows servers within the VPC at all, the only thing I can ping is the VPN server at its private IP in the 10.0.0.0/24 subnet ( same net as windows servers ).
The objective is to be able to communicate with those servers be able to attach network shares and have fast file transfer rate between client and server. Multiple clients will need to access programs running on these servers at the same time, planing on modifying the ec2 instance type as the demand increases.
Help is greatly appreciated!
I have an ec2 openvpn access server within a vpc with two other ec2 windows servers. I was able to set up NAT just fine, however, the applications on the servers heavily rely on network shares and file transfers, and was suuuupper slow when more than one VPN client connected, so I decided to try to set up routing hoping that'll resolve the issue.
So here is my setup, I've got a VPC with a 10.0.0.0/16 CIDR, a subnet using 10.0.0.0/24(where the application servers are), the routing table allows 10.0.0.0/16 local and 0.0.0.0/0 to the internet gateway. Network ACL allows ports for openvpn, security group allows all traffic to make troubleshooting easier atm. Also in routing the main routing table is the vpn client subnet 10.1.0.0/24 thats pointing to the Openvpn Access Server Instance. I've set up each vpn client user with a static IP within this subnet (actually only one user for right now).
I've made sure to disable source/destination check on the openvpn access server ec2 instance.
In the Admin UI > Configuration > Network settings I'm listening on all interfaces, using multi-daemon mode, default ports.
Configuration > VPN Settings using routing, specified 10.0.0.0/16 as the subnets the clients should be able to reach, allowed internet traffic through vpn (i've tried with and without), clients allowed access to network services on vpn gateway.
Configuration > Advanced VPN allowed inter-client communication, disabled multiple sessions per user, TLS enabled, Private routed subnets 10.0.0.0/16.
The issue is, Im unable to communicate with the two other windows servers within the VPC at all, the only thing I can ping is the VPN server at its private IP in the 10.0.0.0/24 subnet ( same net as windows servers ).
The objective is to be able to communicate with those servers be able to attach network shares and have fast file transfer rate between client and server. Multiple clients will need to access programs running on these servers at the same time, planing on modifying the ec2 instance type as the demand increases.
Help is greatly appreciated!