IPsec VPN from Router to free tier AWS

Hi,

i’m totally new to AWS but know my way around Linux and Google.

I’ve manually configured a Amazon Linux 2 free tier t2.micro EC2 instance as an OpenVPN server. Took a couple hours… afterwards I found out there is a preconfigured OpenVPN instance :slight_smile:

What I actually need isn’t a VPN between OpenVPN client and EC2 instance but a VPN between router and AWS.

The router cannot do OpenVPN (Fritzbox) but can connect to IPsec

https://en.avm.de/service/vpn/tips-tricks/connecting-the-fritzbox-with-a-companys-vpn/

What’s my best option for free 12-month tier AWS to connect the router to an IPSec AWS service?

Set up IPsec on an instance? I’ve skimmed AWS vpn site-to-site but then decided to ask you guys what’s best.

It should be free or billed hourly at a very low cost.

cheers, please tell me if I’m not making any sense. As I said, new to AWS.

A couple years ago, i set up openvpn on a t2micro in a vpc and turned on ip forwarding and punched some nat rules into iptables. Then put openvpn on a raspberry pi with a route on my router sending everything pointed at my vpcs address range to the pi. Pi forwards the traffic over openvpn to the t2micro, which forwards it to its destination in my vpc. Boom, vpn tunnel from my lan to my vpc. Worked great.

My requirement is just using the router. But I see how your solution would work.

and punched some nat rules into iptables.

“Why does my VPN tunnel work but there’s no DNS or anything.” Been there a couple hours ago :slight_smile:

If its for something serious, you should look at the vpc vpn service. Not free, but its managed.

Not serious, for private usage. i’d prefer free (I assume I’ll have to look into configuring IPsec from scratch) but wanted to know if there was something easier that’s free…