Yes this is a viable solution.
Do one of the following:
- Have some instance (EC2 or whatever else) with a static IP address and install SoftEther on it
- Ask your ISP for a static IP address
In both cases, configure the main security group, assigned to all instances, to allow this static IP into your VPC
There's indeed a nat gateway in the VPC, but this is mainly for allowing instances inside the VPC to communicate with instances outside the VPC, not the other way around.
Hope this helps
SoftEther as VPN to AWS VPC
-
- Posts: 3
- Joined: Fri May 06, 2016 3:31 am
Re: SoftEther as VPN to AWS VPC
I currently use SoftEther for access into my client's VPCs - it works great. I started a tutorial series on how to setup SoftEther for use with a large amount of users. I still need to finish it, but the start should get you off the ground from the SoftEther side of things:
https://ringzero.io/foss-multi-protocol-vpn-part-1/
Additional reading for AWS is available here: https://github.com/open-guides/og-aws
The previous posts have good advise - assign a public IP to the instance running your VPN server. Use DNS in case you need to change the IP for some reason (you won't need to redistribute your VPN configuration to anyone - because your DNS resolver will take care of that).
Do *not* use SecureNAT in EC2. Switching to dnsmasq and using iptables/firewalld will increase performance, sometimes by orders of magnitude, as well as increase the reliability of the VPN service.
https://ringzero.io/foss-multi-protocol-vpn-part-1/
Additional reading for AWS is available here: https://github.com/open-guides/og-aws
The previous posts have good advise - assign a public IP to the instance running your VPN server. Use DNS in case you need to change the IP for some reason (you won't need to redistribute your VPN configuration to anyone - because your DNS resolver will take care of that).
Do *not* use SecureNAT in EC2. Switching to dnsmasq and using iptables/firewalld will increase performance, sometimes by orders of magnitude, as well as increase the reliability of the VPN service.
-
- Posts: 336
- Joined: Sat Aug 15, 2015 7:41 pm
Re: SoftEther as VPN to AWS VPC
Cool happy to hear things work out well.
The ringzero is not working
The github reading is a great resource. Thanks!!!
The ringzero is not working
The github reading is a great resource. Thanks!!!