Stateful VLAN 20 HTTPS Permit Check
Verifies an inter-VLAN firewall rule permits branch workstations on VLAN 20 to complete a 3-way TCP handshake and TLS 1.3 negotiation to an internal portal on port 443.
vlan.id == 20 && tcp.port == 443// Devices on Branch VLAN 20 and Internal Portal Subnet
host branch_pc { ip 10.20.10.25 }
host portal_srv { ip 10.20.90.80 }
compile {
// 1. Open TCP port 443 with an 802.1Q VLAN 20 tag (0x8100)
branch_pc -> portal_srv vlan 20 tcp syn srcport 51240 dstport 443 win 65535 mss 1460 wait 1ms
branch_pc <- portal_srv vlan 20 tcp syn ack win 65535 mss 1460 wait 1ms
branch_pc -> portal_srv vlan 20 tcp ack wait 1ms
// 2. Send TLS ClientHello with SNI so NGFW application control can inspect the hostname
branch_pc -> portal_srv vlan 20 tls clienthello sni "portal.corp.internal" alpn "h2" wait 2ms
// 3. Server completes TLS 1.3 ServerHello (0x1301 = TLS_AES_128_GCM_SHA256)
branch_pc <- portal_srv vlan 20 tls serverhello ciphersuite 0x1301
}frameassembly fw_vlan20_https_permit.frasm