Trying to creat a VPN connection between AWS VPC and my Fedora 26 workstation using Openswan

asked 2017-11-12 05:23:32 -0500

ASN gravatar image

Hi, I am trying to establish a VPN connection between my local home network and a VPC on AWS cloud My previous experiences with the subject the connection was always between two AWS VPCs on two different accounts & 2 different regions and the setup was really straight forward . Now I am trying to use my Fedora 26 (Plasma spin) but I can't find the right files were I used to! I need to open /etc/sysctl.conf and ensure that its values match the following:

   net.ipv4.ip_forward = 1
   net.ipv4.conf.default.rp_filter = 0
   net.ipv4.conf.default.accept_source_route = 0

And I also have to edit /etc/ipsec by un-commenting :

#include /etc/ipsec.d/*.conf

But when I opened sysctl.conf all I found was an auto generated note telling me to edit files in other locations

#sysctl settings are defined through files in
# /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/.
#
# Vendors settings live in /usr/lib/sysctl.d/.
# To override a whole file, create a new file with the same in
# /etc/sysctl.d/ and put new settings there. To override
# only specific settings, add a file with a lexically later
# name in /etc/sysctl.d/ and put new settings there.
#
# For more information, see sysctl.conf(5) and sysctl.d(5).

I tried to look for the right files but I couldn't find the exact match for the 2 files I need /etc/sysctl.conf and /etc/ipsec So how and what are the files I need to edit in order to be able to establish the connection With the customer gateway on the AWS VPC side using openswan? Please help me... Thanks

edit retag flag offensive close merge delete