<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Phase2, subnet missmatch???]]></title><description><![CDATA[<p dir="auto">Hello!!</p>
<p dir="auto">i gotten this far at least with my first VPN pfsense 2.0 AMD x64 -&gt; Android 3.1</p>
<p dir="auto">but at Phase 2 i get a subnet miss-match… i don't understand this really.... could this be that my tablets ISP got a dynamic ip and a proxy (Swedish Telia) ?</p>
<p dir="auto">x.x.x.x = my pfsense WAN IP<br />
y.y.y.y = my tablets WAN IP</p>
<p dir="auto">Jul 17 23:50:57 racoon: DEBUG: getsainfo params: loc='x.x.x.x' rmt='y.y.y.y' peer='y.y.y.y' client='y.y.y.y' id=1<br />
Jul 17 23:50:57 racoon: DEBUG: evaluating sainfo: loc='192.168.0.0/24', rmt='192.168.1.0/24', peer='ANY', id=1<br />
Jul 17 23:50:57 racoon: DEBUG: check and compare ids : value mismatch (IPv4_subnet)<br />
Jul 17 23:50:57 racoon: DEBUG: cmpid target: '&lt;my-pfsense-dynamic-ip&gt;'<br />
Jul 17 23:50:57 racoon: DEBUG: cmpid source: '192.168.0.0/24'<br />
Jul 17 23:50:57 racoon: ERROR: failed to get sainfo.<br />
Jul 17 23:50:57 racoon: ERROR: failed to get sainfo.<br />
Jul 17 23:50:57 racoon: [mytablet]: [y.y.y.y] ERROR: failed to pre-process ph2 packet [Check Phase 2 settings, networks] (side: 1, status: 1).<br />
Jul 17 23:50:57 racoon: DEBUG: IV freed</p>
<pre><code>$ cat /var/etc/racoon.conf
# This file is automatically generated. Do not edit
path pre_shared_key "/var/etc/psk.txt";

path certificate  "/var/etc";

listen
{
	adminsock "/var/db/racoon/racoon.sock" "root" "wheel" 0660;
	isakmp x.x.x.x [500];
	isakmp_natt x.x.x.x [4500];
}

remote y.y.y.y
{
	ph1id 1;
	exchange_mode main;
	my_identifier address x.x.x.x;
	peers_identifier address y.y.y.y;
	ike_frag on;
	generate_policy = unique;
	initial_contact = on;
	nat_traversal = force;

	support_proxy on;
	proposal_check obey;

	proposal
	{
		authentication_method pre_shared_key;
		encryption_algorithm aes 128;
		hash_algorithm sha1;
		dh_group 2;
		lifetime time 3600 secs;
	}
}

sainfo subnet 192.168.0.0/24 any subnet 192.168.1.0/32 any
{
	remoteid 1;
	encryption_algorithm aes 128;
	authentication_algorithm hmac_sha1;

	lifetime time 3600 secs;
	compression_algorithm deflate;
}
</code></pre>
<p dir="auto">Local Network Type: LAN subnet<br />
Remote Network Type: Network, 192.168.1.0/24</p>
<p dir="auto">Automatically ping host: 192.168.1.5 (don't exist but if i understand this correct i don't need to)</p>
<pre><code>
$ cat /var/etc/spd.conf
spdadd 192.168.0.1/32 192.168.0.0/24 any -P out none;
spdadd 192.168.0.0/24 192.168.0.1/32 any -P in none;
spdadd 192.168.0.0/24 192.168.1.0/32 any -P out ipsec esp/tunnel/x.x.x.x-y.y.y.y/unique;
spdadd 192.168.1.0/32 192.168.0.0/24 any -P in ipsec esp/tunnel/y.y.y.y-x.x.x.x/unique;

</code></pre>
<p dir="auto">anyone got an clue why?&lt;/my-pfsense-dynamic-ip&gt;</p>
]]></description><link>https://forum.netgate.com/topic/35525/phase2-subnet-missmatch</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 08:17:21 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/35525.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 17 Jul 2011 22:02:49 GMT</pubDate><ttl>60</ttl></channel></rss>