<?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[Ipsec with SA established, but NO traffic]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I have some strange problem with IpSec. Because,I’m not IpSec guru if you need more information write me.</p>
<p dir="auto">I have IpCop Linux firewall distribution(pluto,iptables) in head office which is terminating 2 VPN.<br />
First from Pfsence,Freebsd firewall distribution(racoon,Pf) and second from debian(racoon).</p>
<p dir="auto">This configuration worked well,but on monday without known change and no reboot, traffic is not passing through tunnel. But SA is established and tunnel is UP. I try reboots on all endpoints without success passing traffic through. I didn't make firewall filter changes.</p>
<p dir="auto">I try tcpdump on both endpoints.On IpCop is see that my ICMP packets go through ipsec0 interface,but on Pfsence I see in tcpdump on external interface "Destination host unreachable 50"</p>
<p dir="auto">I think problem will be in PfSense side because second VPN work still well.</p>
<p dir="auto">There's is my configuration:</p>
<p dir="auto">Pfsence</p>
<hr />
<p dir="auto">#Ifconfig</p>
<p dir="auto">rl0: flags=8843 &lt;up,broadcast,running,simplex,multicast&gt;mtu 1500<br />
        options=8 &lt;vlan_mtu&gt;inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255<br />
        inet6 fe80::250:fcff:fea0:20ec%rl0 prefixlen 64 scopeid 0x1<br />
        ether 00:50:fc:a0:20:ec<br />
        media: Ethernet autoselect (100baseTX &lt;full-duplex&gt;)<br />
        status: active<br />
fxp0: flags=8843 &lt;up,broadcast,running,simplex,multicast&gt;mtu 1500<br />
        options=b &lt;rxcsum,txcsum,vlan_mtu&gt;inet 147.20.148.94 netmask 0xfffffffc broadcast 147.20.148.95<br />
        inet6 fe80::202:b3ff:fe5b:dbb%fxp0 prefixlen 64 scopeid 0x2<br />
        ether 00:02:b3:5b:0d:bb<br />
        media: Ethernet autoselect (100baseTX &lt;full-duplex&gt;)<br />
        status: active<br />
lo0: flags=8049 &lt;up,loopback,running,multicast&gt;mtu 16384<br />
        inet 127.0.0.1 netmask 0xff000000<br />
        inet6 ::1 prefixlen 128<br />
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3<br />
pfsync0: flags=41 &lt;up,running&gt;mtu 2020<br />
        pfsync: syncdev: lo0 maxupd: 128<br />
pflog0: flags=100 &lt;promisc&gt;mtu 33208</p>
<p dir="auto">racoon.conf<br />
–---------------------------------------------------------------</p>
<p dir="auto">path pre_shared_key "/var/etc/psk.txt";</p>
<p dir="auto">path certificate  "/var/etc";</p>
<p dir="auto">remote 88.200.30.145 {<br />
        exchange_mode main;<br />
        my_identifier address "147.20.148.94";</p>
<p dir="auto">peers_identifier address 88.200.30.145;<br />
        initial_contact on;<br />
        support_proxy on;<br />
        proposal_check obey;</p>
<p dir="auto">proposal {<br />
                encryption_algorithm 3des;<br />
                hash_algorithm md5;<br />
                authentication_method pre_shared_key;<br />
                dh_group 2;<br />
                lifetime time 28000 secs;<br />
        }<br />
        lifetime time 28000 secs;<br />
}</p>
<p dir="auto">sainfo address 192.168.1.0/24 any address 192.168.0.0/24 any {<br />
        encryption_algorithm 3des;<br />
        authentication_algorithm hmac_md5;<br />
        compression_algorithm deflate;<br />
        pfs_group 2;<br />
        lifetime time 28000 secs;<br />
}</p>
<h2><a class="anchor-offset" name="spd.conf"></a>spd.conf</h2>
<p dir="auto">spdadd 192.168.1.0/24 192.168.1.1/32 any -P in none; spdadd 192.168.1.1/32 192.168.1.0/24 any -P out none; spdadd 192.168.1.0/24 192.168.0.0/24 any -P out ipsec esp/tunnel/147.20.148.94-88.200.30.145/unique;<br />
spdadd 192.168.0.0/24 192.168.1.0/24 any -P in ipsec esp/tunnel/88.200.30.145-147.20.148.94/unique;</p>
<hr />
<p dir="auto">#Netstat -sn</p>
<p dir="auto">fastipsec:<br />
        0 inbound packets violated process security policy<br />
        0 outbound packets violated process security policy<br />
        2 outbound packets with no SA available<br />
        0 outbound packets failed due to insufficient memory<br />
        0 outbound packets with no route available<br />
        0 invalid outbound packets<br />
        0 outbound packets with bundled SAs<br />
        0 mbufs coalesced during clone<br />
        0 clusters coalesced during clone<br />
        0 clusters copied during clone<br />
        439 mbufs inserted during makespace<br />
ah:<br />
        0 packets shorter than header shows<br />
        0 packets dropped; protocol family not supported<br />
        0 packets dropped; no TDB<br />
        0 packets dropped; bad KCR<br />
        0 packets dropped; queue full<br />
        0 packets dropped; no transform<br />
        0 replay counter wraps<br />
        0 packets dropped; bad authentication detected<br />
        0 packets dropped; bad authentication length<br />
        0 possible replay packets detected<br />
        0 packets in<br />
        0 packets out<br />
        0 packets dropped; invalid TDB<br />
        0 bytes in<br />
        0 bytes out<br />
        0 packets dropped; larger than IP_MAXPACKET<br />
        0 packets blocked due to policy<br />
        0 crypto processing failures<br />
        0 tunnel sanity check failures<br />
        AH output histogram:<br />
                hmac-md5: 1615<br />
esp:<br />
        0 packets shorter than header shows<br />
        0 packets dropped; protocol family not supported<br />
        0 packets dropped; no TDB<br />
        0 packets dropped; bad KCR<br />
        0 packets dropped; queue full<br />
        0 packets dropped; no transform<br />
        0 packets dropped; bad ilen<br />
        0 replay counter wraps<br />
        0 packets dropped; bad encryption detected<br />
        0 packets dropped; bad authentication detected<br />
        0 possible replay packets detected<br />
        0 packets in<br />
        1615 packets out<br />
        0 packets dropped; invalid TDB<br />
        0 bytes in<br />
        93926 bytes out<br />
        0 packets dropped; larger than IP_MAXPACKET<br />
        0 packets blocked due to policy<br />
        0 crypto processing failures<br />
        0 tunnel sanity check failures<br />
        ESP output histogram:<br />
                3des-cbc: 1615</p>
<h1><a class="anchor-offset" name="setkey-d"></a>setkey -D</h1>
<p dir="auto">147.20.148.94 88.200.30.145<br />
        esp mode=tunnel spi=244918196(0x0e9927b4) reqid=16389(0x00004005)<br />
        E: 3des-cbc  74b233f5 be320ffb 5262340e 7232917b 0b05bace 2368b3e1<br />
        A: hmac-md5  6ea864f2 90d31618 39dd48de 89c95bf0<br />
        seq=0x00000088 replay=4 flags=0x00000000 state=mature<br />
        created: Oct  3 09:56:29 2007  current: Oct  3 10:11:38 2007<br />
        diff: 909(s)    hard: 28000(s)  soft: 22400(s)<br />
        last: Oct  3 10:11:37 2007      hard: 0(s)      soft: 0(s)<br />
        current: 14648(bytes)  hard: 0(bytes)  soft: 0(bytes)<br />
        allocated: 136  hard: 0 soft: 0<br />
        sadb_seq=1 pid=43956 refcnt=2<br />
88.200.30.145 147.20.148.94<br />
        esp mode=tunnel spi=51441993(0x0310f149) reqid=16390(0x00004006)<br />
        E: 3des-cbc  4c4746d4 c9ba287a 9630340b 500ba432 fc6599af 66778117<br />
        A: hmac-md5  a715036a d0dca9ad ccd2e914 fd695b4a<br />
        seq=0x00000000 replay=4 flags=0x00000000 state=mature<br />
        created: Oct  3 09:56:29 2007  current: Oct  3 10:11:38 2007<br />
        diff: 909(s)    hard: 28000(s)  soft: 22400(s)<br />
        last:                          hard: 0(s)      soft: 0(s)<br />
        current: 0(bytes)      hard: 0(bytes)  soft: 0(bytes)<br />
        allocated: 0    hard: 0 soft: 0<br />
        sadb_seq=0 pid=43956 refcnt=1</p>
<h1><a class="anchor-offset" name="setkey-dp"></a>setkey -DP</h1>
<p dir="auto">192.168.1.0/24[any] 192.168.1.1[any] any<br />
        in none<br />
        spid=9 seq=3 pid=44004<br />
        refcnt=1<br />
192.168.0.0/24[any] 192.168.1.0/24[any] any<br />
        in ipsec<br />
        esp/tunnel/88.200.30.145-147.20.148.94/unique#16390<br />
        spid=12 seq=2 pid=44004<br />
        refcnt=1<br />
192.168.1.1[any] 192.168.1.0/24[any] any<br />
        out none<br />
        spid=10 seq=1 pid=44004<br />
        refcnt=1<br />
192.168.1.0/24[any] 192.168.0.0/24[any] any<br />
        out ipsec<br />
        esp/tunnel/147.20.148.94-88.200.30.145/unique#16389<br />
        spid=11 seq=0 pid=44004<br />
        refcnt=1</p>
<p dir="auto">Tcpdump on external interface on command, ping -S 192.168.1.1 192.168.0.1</p>
<p dir="auto">10:13:21.140393 IP 147.20.148.94 &gt; 88.200.30.145: ESP(spi=0x0e9927b4,seq=0x98), length 116<br />
10:13:21.151791 IP 88.200.30.145 &gt; 147.20.148.94: ICMP 88.200.30.145 protocol 50 unreachable, length 144&lt;/promisc&gt;&lt;/up,running&gt;&lt;/up,loopback,running,multicast&gt;&lt;/full-duplex&gt;&lt;/rxcsum,txcsum,vlan_mtu&gt;&lt;/up,broadcast,running,simplex,multicast&gt;&lt;/full-duplex&gt;&lt;/vlan_mtu&gt;&lt;/up,broadcast,running,simplex,multicast&gt;</p>
]]></description><link>https://forum.netgate.com/topic/5955/ipsec-with-sa-established-but-no-traffic</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 20:17:38 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/5955.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 03 Oct 2007 08:50:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ipsec with SA established, but NO traffic on Sun, 24 Aug 2008 19:31:04 GMT]]></title><description><![CDATA[<p dir="auto">Ipcop and pfsense works as it should in 1.2 release. I think you should check you config again…., is your ruleset in pfsense OK?</p>
]]></description><link>https://forum.netgate.com/post/180220</link><guid isPermaLink="true">https://forum.netgate.com/post/180220</guid><dc:creator><![CDATA[heiko]]></dc:creator><pubDate>Sun, 24 Aug 2008 19:31:04 GMT</pubDate></item><item><title><![CDATA[Reply to Ipsec with SA established, but NO traffic on Sun, 24 Aug 2008 11:26:44 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
old posting but i can´t find anything that matches my Problem as exactly as this Post.<br />
Did you find any help to fix this?<br />
Ive got the same Problem with a Fritz!Box, first anything ok but after an reconnect the Tunnel came up but i can´t send any Traffic trough the Tunnel.</p>
<p dir="auto">Any ideas?</p>
<p dir="auto">Thilo</p>
]]></description><link>https://forum.netgate.com/post/180198</link><guid isPermaLink="true">https://forum.netgate.com/post/180198</guid><dc:creator><![CDATA[soulreaver]]></dc:creator><pubDate>Sun, 24 Aug 2008 11:26:44 GMT</pubDate></item></channel></rss>