# Decapsulating traffic in a GRE tunnel

**URL:** <https://discuss.elastic.co/t/decapsulating-traffic-in-a-gre-tunnel/137503>\
**Category:** Beats\
**Created:** [June 26, 2018, 7:27pm UTC](https://discuss.elastic.co/t/decapsulating-traffic-in-a-gre-tunnel/137503 "2018-06-26T19:27:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sweendog](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sweendog/32/32709_2.png) [@Sweendog](https://discuss.elastic.co/u/Sweendog)\
**Post date:** [June 26, 2018, 7:27pm UTC](https://discuss.elastic.co/t/decapsulating-traffic-in-a-gre-tunnel/137503/1 "2018-06-26T19:27:54Z")

</div>

Hi,  
I may be missing it, but I can't seem to find how to have packetbeat strip GRE headers from a L2 tunnel I have set up. Basically, when looking at the traffic in tcpdump, tshark, or wireshark, you can see the traffic plainly (it isn't encrypted, just encapsulated) within the GRE tunnel.

I saw there is a filter w/in beats to strip VLAN tags, and this would be similar, but the encapsulation ends at byte 37.

![image](https://us1.discourse-cdn.com/elastic/original/3X/6/6/66b73edc35acc2e27447fe06b6004513da47212a.png)

Will packetbeat read this traffic automagically, does it need a filter statement, or is it not capble of decapsulating such a tunnel currently?

Thanks,  
Bill

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [June 27, 2018, 9:13am UTC](https://discuss.elastic.co/t/decapsulating-traffic-in-a-gre-tunnel/137503/2 "2018-06-27T09:13:36Z")

</div>

Unfortunately, Packetbeat cannot decapsulate traffic in a GRE tunnel. Do you mind opening an enhancement request, so its state can be tracked? [https://github.com/elastic/beats/issues/new](https://github.com/elastic/beats/issues/new)

---

<div class="post-metadata">

**Author:** ![Sweendog](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sweendog/32/32709_2.png) [@Sweendog](https://discuss.elastic.co/u/Sweendog)\
**Post date:** [June 28, 2018, 12:47pm UTC](https://discuss.elastic.co/t/decapsulating-traffic-in-a-gre-tunnel/137503/3 "2018-06-28T12:47:52Z")

</div>

Hi Noémi,  
Darn. 🙂  
Thanks for the response. I'll open an enhancement request.

Take care,  
Bill

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 26, 2018, 2:47pm UTC](https://discuss.elastic.co/t/decapsulating-traffic-in-a-gre-tunnel/137503/4 "2018-07-26T14:47:53Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
