<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
ipsec.conf:</div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
# ipsec.conf - strongSwan IPsec configuration file
<div style="margin: 0px"># Site network admin: </div>
<div style="margin: 0px"># basic configuration</div>
<div style="margin: 0px"><br>
</div>
<div style="margin: 0px">config setup</div>
<div style="margin: 0px"> # strictcrlpolicy=yes</div>
<div style="margin: 0px"> uniqueids = no</div>
<div style="margin: 0px"> # charondebug = "ike 2,chd 3, enc 2"</div>
<div style="margin: 0px"><br>
</div>
<div style="margin: 0px"># Add connections here.</div>
<div style="margin: 0px"><br>
</div>
<div style="margin: 0px">############################################################</div>
<div style="margin: 0px">## Common configuration</div>
<div style="margin: 0px">############################################################</div>
<div style="margin: 0px"><br>
</div>
<div style="margin: 0px">conn Tunnel1</div>
<div style="margin: 0px"> auto=start</div>
<div style="margin: 0px"> left=%defaultroute</div>
<div style="margin: 0px"> leftid=1.1.1.1</div>
<div style="margin: 0px"> right=2.2.2.2</div>
<div style="margin: 0px"> type=tunnel</div>
<div style="margin: 0px"> leftauth=psk</div>
<div style="margin: 0px"> rightauth=psk</div>
<div style="margin: 0px"> keyexchange=ikev1</div>
<div style="margin: 0px"> ike=aes256-sha1-modp1024</div>
<div style="margin: 0px"> ikelifetime=8h</div>
<div style="margin: 0px"> esp=aes256-sha1-modp1024</div>
<div style="margin: 0px"> lifetime=1h</div>
<div style="margin: 0px"> keyingtries=%forever</div>
<div style="margin: 0px"> leftsubnet=0.0.0.0/0</div>
<div style="margin: 0px"> rightsubnet=0.0.0.0/0</div>
<div style="margin: 0px"> dpddelay=10s</div>
<div style="margin: 0px"> dpdtimeout=30s</div>
<div style="margin: 0px"> dpdaction=restart</div>
<div style="margin: 0px"> mark=100</div>
<div style="margin: 0px">leftupdown="/usr/local/etc/aws-updown.sh -ln Tunnel1 -ll 169.254.x.x/30 -lr 169.254.x.x/30 -m 100 -r 10.x.x.0/20"</div>
<div style="margin: 0px"><br>
</div>
<div style="margin: 0px">conn Tunnel2</div>
<div style="margin: 0px"> auto=start</div>
<div style="margin: 0px"> left=%defaultroute</div>
<div style="margin: 0px"> leftid=1.1.1.1</div>
<div style="margin: 0px"> right=2.2.2.2</div>
<div style="margin: 0px"> type=tunnel</div>
<div style="margin: 0px"> leftauth=psk</div>
<div style="margin: 0px"> rightauth=psk</div>
<div style="margin: 0px"> keyexchange=ikev1</div>
<div style="margin: 0px"> ike=aes128-sha1-modp1024</div>
<div style="margin: 0px"> ikelifetime=8h</div>
<div style="margin: 0px"> esp=aes128-sha1-modp1024</div>
<div style="margin: 0px"> lifetime=1h</div>
<div style="margin: 0px"> keyingtries=%forever</div>
<div style="margin: 0px"> leftsubnet=0.0.0.0/0</div>
<div style="margin: 0px"> rightsubnet=0.0.0.0/0</div>
<div style="margin: 0px"> dpddelay=10s</div>
<div style="margin: 0px"> dpdtimeout=30s</div>
<div style="margin: 0px"> dpdaction=restart</div>
<div style="margin: 0px"> mark=200</div>
<div style="margin: 0px">leftupdown="/usr/local/etc/aws-updown.sh -ln Tunnel2 -ll 169.254.x.x/30 -lr 169.254.x.x/30 -m 200 -r 10.x.x.0/20"</div>
<div style="margin: 0px"><br>
</div>
<div style="margin: 0px">Let me know if there is more you would like to see.</div>
</div>
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<meta content="text/html; charset=UTF-8">
<div id="divtagdefaultwrapper" dir="ltr" style="background-color: rgb(255, 255, 255);">
<p style="margin-top: 0px; margin-bottom: 0px;margin:0in 0in 0.0001pt"></p>
<p style="font-size: 12pt; color: rgb(0, 0, 0); margin: 0in 0in 0.0001pt;"></p>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; color: rgb(33, 33, 33);">
<b style="font-family:Calibri,sans-serif; font-size:11pt"><span style="font-size: 10.5pt; font-family: Arial, sans-serif, serif, EmojiFont; color: black;">Doug Tucker<br>
</span></b><font face="Helvetica, sans-serif"><span style="font-size:13.32px">Sr. Director of Networking & Linux Operations</span></font><font face="Calibri, sans-serif"><span style="color: black; font-size: 11pt;"></span></font></p>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(33, 33, 33);">
<b><span style="font-size: 10.5pt; font-family: Arial, sans-serif, serif, EmojiFont; color: black;">o:</span></b><span style="font-size: 10.5pt; font-family: Arial, sans-serif, serif, EmojiFont; color: black;"> 817.975.5832 | <b> m:</b> 817.975.5832<br>
</span></p>
<p style="margin-top: 0px; margin-bottom: 0px;font-size:11pt; font-family:Calibri,sans-serif,serif,EmojiFont; margin-right:0px; margin-left:0px">
<span style="color: black; font-size: 10.5pt; font-family: Arial, sans-serif, serif, EmojiFont;"><b>e:</b> doug.tucker</span><span style="font-size:10.5pt; font-family:Arial,sans-serif,serif,EmojiFont"><font color="#954f72" style="">@navigaglobal.com</font></span></p>
<p style="margin: 0px; color: rgb(33, 33, 33); font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont;">
<span style="color: black; font-size: 10.5pt; font-family: Arial, sans-serif, serif, EmojiFont;"> </span></p>
<p style="margin: 0px; color: rgb(33, 33, 33); font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont;">
<span style="color: black; font-size: 12pt;"><a href="https://navigaglobal.com/" target="_blank" rel="noopener noreferrer" title="https://navigaglobal.com/ Ctrl+Click or tap to follow the link"><span style="text-decoration-line:none"><img class="EmojiInsert" border="0" id="OWAPstImg750417" style="width:218.99pt; height:48.74pt" data-outlook-trace="F:0|T:1" src="cid:image001.png@01D4FEC7.F32F3010"></span></a></span></p>
<p style="margin: 0px; color: rgb(33, 33, 33); font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont;">
<span style="color: black; font-size: 10.5pt; font-family: Arial, sans-serif, serif, EmojiFont;"><br>
</span><a href="https://www.facebook.com/navigaglobal" target="_blank" rel="noopener noreferrer"><span style="text-decoration-line:none"><img class="EmojiInsert" border="0" id="OWAPstImg217983" style="width:18pt; height:18pt" data-outlook-trace="F:0|T:1" src="cid:image002.png@01D4FEC7.F32F3010"></span></a><span style="color: black;"> <a href="https://twitter.com/navigaglobal" target="_blank" rel="noopener noreferrer"><span style="text-decoration-line:none"><img class="EmojiInsert" border="0" id="OWAPstImg993761" style="width:18pt; height:18pt" data-outlook-trace="F:0|T:1" src="cid:image003.png@01D4FEC7.F32F3010"></span></a> <a href="https://www.linkedin.com/company/navigaglobal/about/" target="_blank" rel="noopener noreferrer"><span style="text-decoration-line:none"><img class="EmojiInsert" border="0" id="OWAPstImg727145" style="width:18pt; height:18pt" data-outlook-trace="F:0|T:1" src="cid:image004.png@01D4FEC7.F32F3010"></span></a></span></p>
<p style="margin: 0px; color: rgb(33, 33, 33); font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont;">
<span style="color: black;"> </span></p>
<p style="margin: 0px; color: rgb(33, 33, 33); font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont; line-height: 11.65pt;">
<b><i><span style="color: white; font-size: 11.5pt; font-family: Arial, sans-serif, serif, EmojiFont; background-color: rgb(65, 28, 181);"><a href="https://navigaglobal.com/" target="_blank" rel="noopener noreferrer"><span style="color: white;">Newscycle Solutions
is now Naviga. Learn more.</span></a></span></i></b></p>
<p style="margin: 0px; color: rgb(33, 33, 33); font-size: 11pt; font-family: Calibri, sans-serif, serif, EmojiFont;">
<b><span style="color: black; font-size: 10.5pt;"><br>
</span></b><span style="color: rgb(136, 136, 136); font-size: 8.5pt; font-family: Arial, sans-serif, serif, EmojiFont;">CONFIDENTIALITY NOTICE: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential
and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and
then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.</span></p>
<br>
<p style="margin-top: 0px; margin-bottom: 0px;"></p>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(33, 33, 33);">
<span style="font-size: 10.5pt; font-family: Arial, sans-serif, serif, EmojiFont; color: black;"> </span></p>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(33, 33, 33);">
<span style="font-size: 8.5pt; font-family: Arial, sans-serif, serif, EmojiFont; color: rgb(136, 136, 136);"></span></p>
<p style="margin-top: 0px; margin-bottom: 0px;"></p>
<p style="margin-top: 0px; margin-bottom: 0px;"></p>
<p style="margin-top: 0px; margin-bottom: 0px;"></p>
<p style="font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0); margin: 0in 0in 0.0001pt;">
<span style="font-size: 8.5pt; font-family: Helvetica, sans-serif; color: rgb(136, 137, 139);"></span></p>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Users <users-bounces@lists.strongswan.org> on behalf of Dominik Reusser <dr896543@gmail.com><br>
<b>Sent:</b> Tuesday, September 15, 2020 1:19 AM<br>
<b>To:</b> users@lists.strongswan.org <users@lists.strongswan.org><br>
<b>Subject:</b> [strongSwan] Connection to AWS-VPC</font>
<div> </div>
</div>
<div>
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0" align="left" width="`"100%`"" style="width:100.0%">
<tbody>
<tr style="">
<td style="background:#910A19; padding:5.25pt 1.5pt 5.25pt 1.5pt"></td>
<td width="`"100%`"" cellpadding="`"7px" color="`"#212121`"" style="width:100.0%; background:#FDF2F4; padding:5.25pt 3.75pt 5.25pt 11.25pt; word-wrap:break-word">
<div>
<p class="x_MsoNormal" style=""><span style="">NCS WARNING: External email. Please verify sender before opening attachments or clicking on links.</span></p>
</div>
</td>
</tr>
</tbody>
</table>
<br>
<div>
<div dir="ltr">
<div>Has anyone successfully connected to AWS VPC? My connection is established and ICMP-Pakets are routed through the AWS cloud. However, UDP and TCP packets - while being sent towards the AWS server (from tcp dump on the client side) - do not appear in the
logs of the VPC. <br>
</div>
<div><br>
</div>
<div>With a corresponding setup with OpenSwan I get a working connection. However, I would prefer to use strong Swan.
<br>
</div>
<div><br>
</div>
<div>If you have successfully connected to AWS VPC, could you please share your configuration files?</div>
<div><br>
</div>
<div>Thanks</div>
<div>Kind regards</div>
<div>Dominik<br>
</div>
</div>
</div>
</div>
</body>
</html>