<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"HP Simplified Light";
panose-1:2 11 4 4 2 2 4 2 2 4;}
@font-face
{font-family:"HP Simplified";
panose-1:2 11 6 4 2 2 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"HP Simplified Light","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif"">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif"">Following on from some of my further questions on the subject, I am in the process of creating a demo for a unified IPSEC gateway with StrongSwan and my latest
challenge is DNS configuration.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif"">In my configuration I multiple backend subnets, for distinct systems. Each of these subnets has their own DNS server.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif"">Ideally I
<b>don’t</b> want to promote a DNS server / forwarder to the edge of my network, and would like Strongswan to handle the client DNS configuration. To that end I believe since StrongSwan 5.0.4 there is the ability to specify
<b>rightdns=xxx.xxx.xxx.xxx </b>in the configuration.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif"">However this doesn’t appear to be working for me – as the connected clients are not being sent over to the DNS servers.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif"">My current config (for the connection)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">conn group1<br>
left=<a href="http://10.1.0.2">10.1.0.2</a><br>
leftcert=vpnserver.crt<br>
leftsubnet=<a href="http://172.17.81.128/27">172.17.81.128/27</a><br>
leftid=vpnserver.of.our.company.fqdn<br>
leftfirewall=yes<br>
right=%any<br>
rightid="DC=de, DC=company, O=Companyname, OU=group1 certificate, CN=*"<br>
rightsourceip=<a href="http://10.0.50.0/24">10.0.50.0/24</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">rightdns=172.17.81.142<br>
auto=add<br>
<br>
conn group2<br>
left=<a href="http://10.1.0.2">10.1.0.2</a><br>
leftcert=vpnserver.crt<br>
leftsubnet=162.17.81.128/27<br>
leftid=vpnserver.of.our.company.fqdn<br>
leftfirewall=yes<br>
right=%any<br>
rightid="DC=de, DC=company, O=Companyname, OU=group2 certificate, CN=*"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">rightdns=162.17.81.142<br>
rightsourceip=<a href="http://10.0.60.0/24">10.0.60.0/24</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif"">And the content from Strongswan.conf (not changed from the default install).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><img border="0" width="802" height="418" id="Picture_x0020_2" src="cid:image002.jpg@01CE68E1.AAB741B0"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif""><o:p></o:p></span></p>
<p class="MsoNormal"><img border="0" width="802" height="256" id="Picture_x0020_3" src="cid:image003.jpg@01CE68E1.AAB741B0"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif""><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif"">What am I missing here?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif""><br>
Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"HP Simplified Light","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"HP Simplified","sans-serif";color:black">Andy Paton<br>
</span></b><span style="font-size:9.0pt;font-family:"HP Simplified","sans-serif";color:#717172">Business Development Solution Architect<br>
ATLAS CTOSD<br>
UK Public Sector<br>
Defence, Home & Foreign Affairs<br>
<br>
<a href="mailto:andy.paton@hp.com"><span style="color:#717172">andy.paton@hp.com</span></a><br>
M +44 7786 748 199<br>
HP Enterprise Services Defence & Security UK Ltd<br>
Registered Office:<br>
Cain Road<br>
Bracknell, Berkshire, RG12 1HN<br>
United Kingdom<br>
<br>
</span><a href="http://www.hp.com/"><span style="font-size:9.0pt;font-family:"HP Simplified","sans-serif";color:#717172;text-decoration:none"><img border="0" width="30" height="30" id="Picture_x0020_1" src="cid:image001.png@01CE68E1.28DC7570" alt="HP"></span></a><span style="color:#0F243E"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>