Hi,
I am trying to connect two m0n0walls (v1.8.1) via an IPsec tunnel. Since one of them connects to two different subnets, I set up two identical tunnels except for the remote subnet. Both of them work fine individually, but as soon as I enable the other one, they will both stop working and in the log, I find something like
Feb 7 17:32:10 racoon: ERROR: no configuration found for [remote gateway IP address].
Feb 7 17:32:10 racoon: ERROR: failed to begin ipsec sa negotication.
I can actually have more than one tunnel up and running, but only, if their remote gateway is different.
Even if only one of the parallel tunnels can actually be established (because I disabled it at the other endpoint), I still get the same problem.
I succesfully used a very similar configuration between two m0n0walls of version 1.3.x, but something seems to be broken with 1.8.1.
Has anyone had similar problems or knows a solution for it?
This is an excerpt from the configuration backup of one of the m0n0walls
<tunnel>
<dpddelay/>
<interface>wan</interface>
<local-subnet>
<network>lan</network>
</local-subnet>
<remote-subnet>192.168.179.0/24</remote-subnet>
<remote-gateway>[remote gateway]</remote-gateway>
<p1>
<mode>aggressive</mode>
<myident>
<fqdn>[domain name]</fqdn>
</myident>
<encryption-algorithm>blowfish</encryption-algorithm>
<hash-algorithm>sha1</hash-algorithm>
<dhgroup>2</dhgroup>
<lifetime/>
<pre-shared-key>[pre-shared key]</pre-shared-key>
<private-key/>
<cert/>
<peercert/>
<authentication_method>pre_shared_key</authentication_method>
</p1>
<p2>
<protocol>esp</protocol>
<encryption-algorithm-option>blowfish</encryption-algorithm-option>
<hash-algorithm-option>hmac_sha1</hash-algorithm-option>
<pfsgroup>2</pfsgroup>
<lifetime>3600</lifetime>
</p2>
<descr>[description]</descr>
</tunnel>
<tunnel>
<disabled/>
<dpddelay/>
<interface>wan</interface>
<local-subnet>
<network>lan</network>
</local-subnet>
<remote-subnet>192.168.180.0/24</remote-subnet>
<remote-gateway>[remote gateway]</remote-gateway>
<p1>
<mode>aggressive</mode>
<myident>
<fqdn>[domain name]</fqdn>
</myident>
<encryption-algorithm>blowfish</encryption-algorithm>
<hash-algorithm>sha1</hash-algorithm>
<dhgroup>2</dhgroup>
<lifetime/>
<pre-shared-key>[pre-shared key]</pre-shared-key>
<private-key/>
<cert/>
<peercert/>
<authentication_method>pre_shared_key</authentication_method>
</p1>
<p2>
<protocol>esp</protocol>
<encryption-algorithm-option>blowfish</encryption-algorithm-option>
<hash-algorithm-option>hmac_sha1</hash-algorithm-option>
<pfsgroup>2</pfsgroup>
<lifetime>3600</lifetime>
</p2>
<descr>[description]</descr>
</tunnel>
David