Fading Coder

One Final Commit for the Last Sprint

Simulating Dice Rotations Using Character Commands in Multiple Languages

Problem Outline A standard cube-shaped die starts with the initial configuration left=1, right=2, front=3, back=4, top=5, bottom=6, represented as the string 123456. Given a sequence of operations—each being a single character—the task is to output the final configuration after applying all moves. A...

Implementation of Five NAT Modes on Huawei Devices

Static NAT Configuration Static NAT provides a one-to-one mapping between internal private IP addresses and external public IP addresses. This method is often utilized to allow external users to access specific interanl resources using a consistent public address. [Gateway-GigabitEthernet0/0/1] nat...

Deploying High Availability on Huawei Firewalls with VRRP, VGMP, and HRP

High availability for security gateways cannot rely on a single device at critical points in the forwarding path. A pair of firewalls operating in hot-standby eliminates single‑point failure by coordinating gateway redundancy, state synchronization, and failover control through VRRP, VGMP, and HRP....

Configuring a GRE Site-to-Site VPN with NAT and OSPF in Huawei eNSP

Enterprise A (AR1) and Enterprise B (AR4) access the public core through NAT The core routers (AR2, AR3) exchange routes using OSPF A GRE tunnel connects the private LANs behind AR1 and AR4 Addressing overviwe AR1 LAN: 10.0.1.0/24 (G0/0/0) WAN: 100.64.1.0/30 (G0/0/1) — peer AR2 AR2 To AR1: 100.64.1...