<span id="result_box" class="" lang="en"><span class="hps">Hello,<br><br>I quit</span> <span class="hps">using</span> <span class="hps">linux and</span> <span class="hps">openswan</span> <span class="hps">vpn</span> <span class="hps">to access</span><span class="">,</span> <span class="hps">thanks to</span> <span class="hps">help from everyone</span> <span class="hps">but I will</span> <span class="hps">continue to</span> <span class="hps">use the</span> <span class="hps">windows</span> <span class="hps">with the</span> <span class="hps">client</span> <span class="hps">software</span> <span class="hps">checkpoint</span><span class="">.</span> <span class="hps">As I said</span> <span class="hps">before, I am</span> <span class="hps">developer</span> <span class="hps">and I know</span> <span class="hps">very well the</span> <span class="hps">area of ​​networking</span><span class="">.<br>
<br>Thanks.<br>Victor Jabur<br></span></span><br><div class="gmail_quote">2011/8/1 Willie Gillespie <span dir="ltr">&lt;<a href="mailto:wgillespie%2Bopenswan@es2eng.com">wgillespie+openswan@es2eng.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Try adding UDP port 4500 also (which allows for NAT-T)<br>
<div class="im"><br>
On 07/28/2011 01:33 PM, <a href="mailto:victorjabur@gmail.com">victorjabur@gmail.com</a> wrote:<br>
&gt; I&#39;m not an expert on infrastructure. I&#39;m developer and i don&#39;t have much<br>
&gt; knowledgement about firewall and linux.<br>
&gt;<br>
&gt; I tried to run these commands to open the UDP Port 500.<br>
&gt;<br>
&gt; iptables -A INPUT -p udp --sport 500 --dport 500 -j ACCEPT<br>
&gt; iptables -A OUTPUT -p udp --sport 500 --dport 500 -j ACCEPT<br>
&gt; # we need to allow ESP<br>
&gt; iptables -A INPUT -p 50 -j ACCEPT<br>
&gt; iptables -A OUTPUT -p 50 -j ACCEPT<br>
&gt; # and AH r<br>
&gt; iptables -A INPUT -p 51 -j ACCEPT<br>
&gt; iptables -A OUTPUT -p 51 -j ACCEPT<br>
&gt;<br>
&gt; iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT<br>
&gt; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE<br>
&gt;<br>
&gt;<br>
&gt; But the same message persist.<br>
&gt;<br>
&gt; 1) How commands should i execute to resolve this error ?<br>
&gt; 2) What ports and rules should be appended to firewall to make openswan<br>
&gt; works on linux, there is any document for this ?<br>
&gt;<br>
&gt; Thanks.<br>
&gt; Victor<br>
&gt;<br>
</div>&gt; 2011/7/28 Paul Wouters &lt;<a href="mailto:paul@xelerance.com">paul@xelerance.com</a> &lt;mailto:<a href="mailto:paul@xelerance.com">paul@xelerance.com</a>&gt;&gt;<br>
<div class="im">&gt;<br>
&gt;     On Thu, 28 Jul 2011, <a href="mailto:victorjabur@gmail.com">victorjabur@gmail.com</a><br>
</div><div class="im">&gt;     &lt;mailto:<a href="mailto:victorjabur@gmail.com">victorjabur@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;         I correct the command leftxauthuser to leftxauthusername and it<br>
&gt;         works.<br>
&gt;<br>
&gt;         This is the currently log, can you tell me why the connection<br>
&gt;         isn&#39;t work ?<br>
&gt;<br>
&gt;<br>
&gt;     000 #2: &quot;company&quot;:500 STATE_MAIN_I1 (sent MI1, expecting MR1);<br>
&gt;     EVENT_RETRANSMIT in 22s; nodpd; idle; import:admin<br>
&gt;<br>
&gt;     Your first packet is not received or answered. Check firewall rules.<br>
&gt;<br>
&gt;     Paul<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>&gt; _______________________________________________<br>
&gt; <a href="mailto:Users@openswan.org">Users@openswan.org</a><br>
&gt; <a href="http://lists.openswan.org/mailman/listinfo/users" target="_blank">http://lists.openswan.org/mailman/listinfo/users</a><br>
&gt; Micropayments: <a href="https://flattr.com/thing/38387/IPsec-for-Linux-made-easy" target="_blank">https://flattr.com/thing/38387/IPsec-for-Linux-made-easy</a><br>
&gt; Building and Integrating Virtual Private Networks with Openswan:<br>
&gt; <a href="http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155" target="_blank">http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155</a><br>
_______________________________________________<br>
<a href="mailto:Users@openswan.org">Users@openswan.org</a><br>
<a href="http://lists.openswan.org/mailman/listinfo/users" target="_blank">http://lists.openswan.org/mailman/listinfo/users</a><br>
Micropayments: <a href="https://flattr.com/thing/38387/IPsec-for-Linux-made-easy" target="_blank">https://flattr.com/thing/38387/IPsec-for-Linux-made-easy</a><br>
Building and Integrating Virtual Private Networks with Openswan:<br>
<a href="http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155" target="_blank">http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155</a><br>
</blockquote></div><br><br clear="all"><br>