Hi<br><br>I want to connect multiple clients at the same time. the ip address is different.<br><br>I have removed leftid and rightid from my connection but still it cant make connection to any one. To use different PSK for different client I have used that leftis and rightid, because ipsec - ipsec works fine with that. For creating multiple connection I have added two connection in my ipsec.conf. here it is<br><br>version 2.0 # conforms to second version of ipsec.conf specification<br><br><br># basic configuration<br>config setup<br> interfaces=%defaultroute<br> # NAT-TRAVERSAL support, see README.NAT-Traversal<br> nat_traversal=yes<br><br># Add connections here<br><br>conn %default<br> keyingtries=3<br><br>conn netone<br>
left=10.10.136.94<br> leftnexthop=%defaultroute<br> leftprotoport=17/1701<br> right=10.10.136.45<br> rightnexthop=%defaultroute<br> rightprotoport=17/1701<br> authby=secret<br> auto=add<br><br>conn nettwo<br> left=10.10.136.94<br> leftnexthop=%defaultroute<br> leftprotoport=17/1701<br> right=10.10.136.46<br> rightnexthop=%defaultroute<br> rightprotoport=17/1701<br>
authby=secret<br> auto=add<br><br>#Disable Opportunistic Encryption<br>include /etc/ipsec.d/examples/no_oe.conf<br><br>Then I have ipsec.secrets file look like <br><br>@10.10.136.94 @10.10.136.45 : PSK "helloworld"<br>@10.10.136.94 @10.10.136.46 : PSK "hello"<br><br>Still it cant making connection. after starting ipsec I have added that two connection. Here I want to use different PSK for different clients. Is it possible? How to make multiple connection with Certs. To make multiple connection I have also used leftid and rightid.<br><br> Can you tell how to do that with PSK and Certs. <br><br>Thanks,<br>Dhaval<br><br><b><i>Jacco de Leeuw <jacco2@dds.nl></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <br>Dhaval wrote:<br><br>> I want to make multiple connection.<br><br>What do you mean? You want to support multiple L2TP/IPsec
clients<br>connecting at the same time? From different IP addresses or from<br>behind the same NAT device?<br><br>> But when I add leftid and rightid in connection to ipsec.conf<br><br>Why? Leftid/rightid already default to left/right.<br><br>> leftid=@10.10.136.94<br>> rightid=@10.10.136.45<br><br>Remove these.<br><br>> auto=start<br><br>Use auto=add if the client is a road warrior.<br><br>> Without leftid and rightid can I make multiple connection?<br><br>If clients are connecting from multiple fixed IP addresses<br>then create multiple connection sections in ipsec.conf.<br>If clients have dynamic IP addresses, use right=%any instead.<br>But then every client will have to use the same PSK. You may<br>want to switch to certificates instead.<br><br>Jacco<br>-- <br>Jacco de Leeuw mailto:jacco2@dds.nl<br>Zaandam, The Netherlands http://www.jacco2.dds.nl<br></blockquote><br><p> 
<hr size=1>Need a vacation? <a href="http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ--">Get great deals
to amazing places </a>on Yahoo! Travel.