{{tag>user_expert}} {{indexmenu_n>999}} # Add or Edit Port Mapping The **Add or Edit Port Mapping** view allows you to add or change [port](/glossary/p/port) mapping settings. ## Configuration ^ Item ^ Description ^ Comment ^ | Rule Name | Rule name. | | | Source Zone | Incoming [zone](/glossary/f/firewall_zone). | | | Destination Zone | Destination [zone](/glossary/f/firewall_zone). | | | Source IP Address | Source [IP address](/glossary/i/ip_address) (for filtering). | | | Dst. Device | Client [hostname](/glossary/h/hostname). | | | Dst. IP Address | Client [IP address](/glossary/i/ip_address). | | | Protocol | Mapping [protocol](/glossary/p/protocol) | ([UDP](/glossary/u/udp) / [TCP](/glossary/t/tcp) / TCP + UDP ). | | Public port(s) | Public (external) [port](/glossary/p/port). | | | Private port(s) | Private (client) [port](/glossary/p/port). | | | NAT Loopback | Enable [NAT Loopback](/glossary/n/nat_loopback) | | ### Protocol The protocol setting filters traffic by protocol for the port forward. ^ Protocol ^ Description ^ | TCP + UDP | Both [TCP](/glossary/t/tcp) and [UDP](/glossary/u/udp). | | TCP | [TCP](/glossary/t/tcp) only. | | UDP | [UDP](/glossary/u/udp) only. | ## Port Mapping Settings To map incoming connections: * Click the {{/icon/add.png?nolink}} **add** button to open the settings The port mapping dialog lets you add configuration settings for the mapping. Ports can be added one by one (`80`) or as ranges (`21:22`). * Add information: * Add a name as identification * Add ports: * Add public/incoming port(s) * Add private/client port(s) * Select protocol * Click **Save** * Click **Close** Your information is saved and is visible in the mapping list.