Hi
Why would NAT disallow SecureXL templating?
Running this debug:
fwaccel dbg -m tmpl + tmpl
Shows messages like this one:
cphwd_create_template: Trying to create template for conn: <dir 1, 10.10.51.96:51137 -> 8.8.8.8:53 IPP 17>
Sep 27 15:37:00 2024 fw01 kernel:[fw4_1];cphwd_get_sdwan_templates_info: sdwan not active. tmpl allowed
Sep 27 15:37:00 2024 fw01 kernel:[fw4_1];get_connkey_template: Conn <dir 1, 10.10.51.96:51137 -> 8.8.8.8:53 IPP 17> cannot be offloaded as template (nat disallows)
Sep 27 15:37:00 2024 fw01 kernel:[fw4_1];get_connkey_template: template is not possible. flags=0x40000048, unsupported_flags=0x40000048 reason: NAT Disallowed Conn
fwaccel stat
+---------------------------------------------------------------------------------+
|Id|Name |Status |Interfaces |Features |
+---------------------------------------------------------------------------------+
|0 |KPPAK |enabled |Sync,Mgmt,eth1-01, |Acceleration,Cryptography |
| | | |eth1-03,eth1-04 | |
| | | | |Crypto: Tunnel,UDPEncap,MD5, |
| | | | |SHA1,3DES,DES,AES-128,AES-256,|
| | | | |ESP,LinkSelection,DynamicVPN, |
| | | | |NatTraversal,AES-XCBC,SHA256, |
| | | | |SHA384,SHA512 |
+---------------------------------------------------------------------------------+
Accept Templates : enabled
Drop Templates : enabled
NAT Templates : enabled
LightSpeed Accel : disabled
Running this command:
fwaccel templates -R
Shows that Prevented By Policy Rules |272089470 |60.340 % decreasing and NAT Disallowed Conn |55142899 |12.229 % increasing!
fwaccel templates -R
Matched connections not allowed to use templates:
% Prevention : 1.278%
Reason Count Reason Prevented From Matched %
Non-Syn/Empty First Packet |311689 |0.827 %
Src/dst IP Blacklisted |170192 |0.452 %
Dynamic VPN Connection |2 |0.000 %
--------------------
Connections failed to create templates:
% Fail to Create : 76.029%
Reason Count Reason Fail To Create %
NON TCP/UDP PROTO |4814005 |1.068 %
Conn Not Accelerated |9462382 |2.098 %
NAT Disallowed Conn |55142899 |12.229 %
DHCP Check Feature Isn't Supported Or Disabled|15 |0.000 %
General Error |1037801 |0.230 %
Malicious Destination IP Detected |285648 |0.063 %
Prevented By Policy Rules |272089470 |60.340 %
What could be wrong in the NAT rules that prevents templating?
I haven't found any information about this in the admin guides.