IPSec VPN decapsulation bytes are increasing and encapsulation is constant

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

IPSec VPN decapsulation bytes are increasing and encapsulation is constant

L6 Presenter

Hi All,

 

Followed this article on teh troubleshooting session:

 

https://live.paloaltonetworks.com/t5/Management-Articles/How-to-Troubleshoot-IPSec-VPN-connectivity-...

 

We currently have an issue with S2S VPN between Palo and WatchGuard Fws. 
VPN is up (at least from Palo site). Traffic is initiated from the WatchGuard side (10.10.1.85 src ip) going to the dst ip 10.81.224.11 and visible from our side. From the VPN flow we can see that PA is doing decap bytes but not encap. WatchGuard side also can see that they are sending traffic but 0 bytes received back. I have checked policies and FIB lookup and all look good. But we must missing something. 

 

Thx,

Myky

1 accepted solution

Accepted Solutions

L6 Presenter

Just FYI:

 

Had a TAC case opened for this issue.  Some PBF rule had a misconfigured object, so the firewall was sending the traffic using that rule (reply traffic). Good to know to check next time not only FIB Lookup but also check PFB Lookup. Correcting the object fixed the issue.

 

https://live.paloaltonetworks.com/t5/Management-Articles/How-To-Test-Security-NAT-and-PBF-Rules-via-...

 

EDIT:

 

We were not able to initiate any traffic from teh Palo side as by design we had no allow policy. It is one-way C2S traffic. Server cannot initiate the session. 

View solution in original post

7 REPLIES 7

Cyber Elite
Cyber Elite

If you ping 10.10.1.85 that is at peer site from behind Palo and check traffic log what is egress interface for this traffic?

Are those ping requests sent to correct tunnel interface?

Enterprise Architect, Security @ Cloud Carib Ltd
Palo Alto Networks certified from 2011

L6 Presenter

Hi @Raido_Rattameister,

 

When l was checking the logs l could see that the traffic was arriving on the correct tunnel.37 interface and going out the eth 1/5 interface. from the PCAPs from the PA FW l can see both ping request(10.10.1.85)/reply(10.81.224.11) as well as allow logs for this particular session:

 

PCAP.PNG

 

test routing fib-lookup virtual-router default ip 10.10.1.85
--------------------------------------------------------------------------------
runtime route lookup
--------------------------------------------------------------------------------
virtual-router: default
destination: 10.10.1.85
result:
interface tunnel.37, metric 10
--------------------------------------------------------------------------------

 

Must be something fundamental (

Ok but can you ping from 10.81.224.11 to 10.10.1.85?

Is Egress interface tunnel.37

Do you see encap counter increasing?

Enterprise Architect, Security @ Cloud Carib Ltd
Palo Alto Networks certified from 2011

I know what do you mean @Raido_Rattameister but unfortunately, l had no chance to test reverse traffic as the server admin was away. 

Definitely, can confirm that PA can see the reply from the server and definitely based on the FIB Lookup it will forward to the tunnel.37 interface.  

Did you only check with icmp or also with establishing a tcp connection (not just the tcp handshake?

In addition to that, as I have learn, there is also always the possibility that one side made mistakes in the implementation of the algorithms ... so could you also share the pan-os version and the algorithms you used for the connection?

Hello @Remo,

 

Yes, initial test was with RDP session. PAN-OS 7.1.5 and l will share VPN config tomorrow. Thx all

L6 Presenter

Just FYI:

 

Had a TAC case opened for this issue.  Some PBF rule had a misconfigured object, so the firewall was sending the traffic using that rule (reply traffic). Good to know to check next time not only FIB Lookup but also check PFB Lookup. Correcting the object fixed the issue.

 

https://live.paloaltonetworks.com/t5/Management-Articles/How-To-Test-Security-NAT-and-PBF-Rules-via-...

 

EDIT:

 

We were not able to initiate any traffic from teh Palo side as by design we had no allow policy. It is one-way C2S traffic. Server cannot initiate the session. 

  • 1 accepted solution
  • 7450 Views
  • 7 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!