[strongSwan] What iptables commands to enter to make it all work?

Alex Red alexthered88 at hotmail.com
Sat Sep 28 15:41:02 CEST 2013


I got Strongswan up and running, and I could connect to the IPsec VPN server from a remote PC, but the remote PC has no connectivity to the internal LAN or the Internet.  I think it is a matter of the right iptables commands and could sure use your help!
My ipsec.conf, ipsec.secrets, and strongswan.conf are from the Win7 example.http://wiki.strongswan.org/projects/strongswan/wiki/Win7EapMultipleConfig
I drew this picture of my network starting with an example at the Strongswan wiki.  I put my IP addresses on the picture as well.  Strongswan runs on the router on the left side.  The remote road warrior needs to get to the web server on the left in this example.http://i.imgur.com/e0jg15n.png
I only have two iptables commands at the moment.  I am pretty sure I am missing a few more to make this all work.  Thanks for your help.
iptables -I INPUT -j ACCEPT -p udp --dport 500iptables -I INPUT -j ACCEPT -p udp --dport 4500
-Alex Red
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20130928/2063ee9a/attachment.html>


More information about the Users mailing list