<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Set Up IPsec-based VPN with Strongswan on CentOS/RHEL 8	</title>
	<atom:link href="https://www.tecmint.com/setup-ipsec-vpn-with-strongswan-on-centos-rhel-8/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/setup-ipsec-vpn-with-strongswan-on-centos-rhel-8/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Mon, 04 Nov 2024 03:53:25 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/setup-ipsec-vpn-with-strongswan-on-centos-rhel-8/comment-page-1/#comment-2237349</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Mon, 04 Nov 2024 03:53:25 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=36339#comment-2237349</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/setup-ipsec-vpn-with-strongswan-on-centos-rhel-8/comment-page-1/#comment-2236557&quot;&gt;Raji&lt;/a&gt;.

@Raji,

It looks like the issue is that &lt;strong&gt;StrongSwan&lt;/strong&gt; cannot find the &#039;&lt;code&gt;tun1&lt;/code&gt;&#039; configuration. Double-check your &lt;code&gt;ipsec.conf&lt;/code&gt; file for any syntax errors or misconfigurations. 

Ensure that the configuration file is saved correctly and try reloading the StrongSwan configuration with:
&lt;pre&gt;
# ipsec reload
&lt;/pre&gt;
Then attempt to bring up the tunnel again:
&lt;pre&gt;
# ipsec up tun1
&lt;/pre&gt;
If it still doesn&#039;t work, consider checking the logs using &lt;code&gt;journalctl -xe&lt;/code&gt; for more detailed error information, which can help troubleshoot the problem further.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/setup-ipsec-vpn-with-strongswan-on-centos-rhel-8/comment-page-1/#comment-2236557">Raji</a>.</p>
<p>@Raji,</p>
<p>It looks like the issue is that <strong>StrongSwan</strong> cannot find the &#8216;<code>tun1</code>&#8216; configuration. Double-check your <code>ipsec.conf</code> file for any syntax errors or misconfigurations. </p>
<p>Ensure that the configuration file is saved correctly and try reloading the StrongSwan configuration with:</p>
<pre>
# ipsec reload
</pre>
<p>Then attempt to bring up the tunnel again:</p>
<pre>
# ipsec up tun1
</pre>
<p>If it still doesn&#8217;t work, consider checking the logs using <code>journalctl -xe</code> for more detailed error information, which can help troubleshoot the problem further.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Raji		</title>
		<link>https://www.tecmint.com/setup-ipsec-vpn-with-strongswan-on-centos-rhel-8/comment-page-1/#comment-2236557</link>

		<dc:creator><![CDATA[Raji]]></dc:creator>
		<pubDate>Sat, 02 Nov 2024 08:48:55 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=36339#comment-2236557</guid>

					<description><![CDATA[I am trying to create a PSK tunnel between AIX and Linux. I tried activating the tunnel from Linux, but it is not coming up. 

Any help, please?

&lt;strong&gt;/etc/strongswan/ipsec.conf&lt;/strong&gt;:
&lt;pre&gt;
config setup
    charondebug=&quot;all&quot;
    uniqueids=no
    strictcrlpolicy=no

conn tun1
    type=transport
    auto=add
    keyexchange=ikev2
    authby=secret
    left=70.70.70.20
    right=70.70.70.10
    ike=aes256-sha1-modp1024
    esp=aes256-sha1
    pfs=no
&lt;/pre&gt;
&lt;strong&gt;/etc/strongswan/ipsec.secrets&lt;/strong&gt;:
&lt;pre&gt;
70.70.70.20 70.70.70.10 : PSK &quot;12345678910abcedf&quot;
&lt;/pre&gt;
&lt;pre&gt;
# systemctl restart strongswan
# strongswan up tun1
no config named &#039;tun1&#039;
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>I am trying to create a PSK tunnel between AIX and Linux. I tried activating the tunnel from Linux, but it is not coming up. </p>
<p>Any help, please?</p>
<p><strong>/etc/strongswan/ipsec.conf</strong>:</p>
<pre>
config setup
    charondebug="all"
    uniqueids=no
    strictcrlpolicy=no

conn tun1
    type=transport
    auto=add
    keyexchange=ikev2
    authby=secret
    left=70.70.70.20
    right=70.70.70.10
    ike=aes256-sha1-modp1024
    esp=aes256-sha1
    pfs=no
</pre>
<p><strong>/etc/strongswan/ipsec.secrets</strong>:</p>
<pre>
70.70.70.20 70.70.70.10 : PSK "12345678910abcedf"
</pre>
<pre>
# systemctl restart strongswan
# strongswan up tun1
no config named 'tun1'
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex		</title>
		<link>https://www.tecmint.com/setup-ipsec-vpn-with-strongswan-on-centos-rhel-8/comment-page-1/#comment-1702315</link>

		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Sun, 16 Jan 2022 08:48:41 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=36339#comment-1702315</guid>

					<description><![CDATA[I have already established an IPIP6 tunnel between two endpoints, where IPv4 packets are encapsulated inside the IPv6 tunnel.

Can this method help me secure and authenticate my tunnel ??

Or it is totally different method?]]></description>
			<content:encoded><![CDATA[<p>I have already established an IPIP6 tunnel between two endpoints, where IPv4 packets are encapsulated inside the IPv6 tunnel.</p>
<p>Can this method help me secure and authenticate my tunnel ??</p>
<p>Or it is totally different method?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/setup-ipsec-vpn-with-strongswan-on-centos-rhel-8/comment-page-1/#comment-1485096</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Mon, 03 May 2021 05:55:41 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=36339#comment-1485096</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/setup-ipsec-vpn-with-strongswan-on-centos-rhel-8/comment-page-1/#comment-1484044&quot;&gt;Christophe&lt;/a&gt;.

@Christophe,

I think we have disabled firewall, but you can open port if you an have active firewall.
&lt;pre&gt;
# firewall-cmd --permanent --add-service=&quot;ipsec&quot;
# firewall-cmd --permanent --add-port=4500/udp
# firewall-cmd --permanent --add-masquerade
# firewall-cmd --reload
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/setup-ipsec-vpn-with-strongswan-on-centos-rhel-8/comment-page-1/#comment-1484044">Christophe</a>.</p>
<p>@Christophe,</p>
<p>I think we have disabled firewall, but you can open port if you an have active firewall.</p>
<pre>
# firewall-cmd --permanent --add-service="ipsec"
# firewall-cmd --permanent --add-port=4500/udp
# firewall-cmd --permanent --add-masquerade
# firewall-cmd --reload
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Christophe		</title>
		<link>https://www.tecmint.com/setup-ipsec-vpn-with-strongswan-on-centos-rhel-8/comment-page-1/#comment-1484051</link>

		<dc:creator><![CDATA[Christophe]]></dc:creator>
		<pubDate>Fri, 30 Apr 2021 12:27:37 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=36339#comment-1484051</guid>

					<description><![CDATA[No firewall ports have to be opened?]]></description>
			<content:encoded><![CDATA[<p>No firewall ports have to be opened?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
