In a TCP/IP network, a port is a number that identifies the type of network traffic. If an incoming or outgoing port is "open," packets with that port number are allowed into or out of the local network (LAN). Ports are opened and closed in the firewall.Home Router/FirewallsConsumer routers such as the wireless router commonly found in homes and small businesses have a built-in firewall. Fresh out of the box, all incoming ports are generally closed and all outgoing ports are open. Any requests initiated by the user that go out to the Internet automatically open the appropriate incoming port to receive the responses. See wireless router.Commercial Firewalls and RoutersIn companies, firewalls, routers and most other network devices are separate units. Newly installed commercial firewalls generally have all ports closed, in and out, but some have outgoing ports open. In most cases, commercial firewalls work like consumer firewalls and automatically open incoming ports for requests initiated by the user.Many companies host services such as a Web server or mail server on their LANs for access via the Internet, and network administrators must open incoming and outgoing ports in the firewall for those types of traffic. They must also configure their routers to forward incoming packets to the appropriate server. Another example is using the Internet and the local company network for telephone service, and callers "phone in." The ports for voice over IP (VoIP) traffic must be opened in the firewall and forwarded by the router to the telephone PBX (see port forwarding). See TCP/IP port and firewall.