To the knowledge base
Dokument informacyjny #893

Setting up static port sharing

You can configure static port sharing to allow other users in the internet to access certain server services in your FRITZ!Box home network, such as HTTP servers and remote maintenance servers, or online games and internet applications.

Requirements / Restrictions

  • For IPv4 internet access, the FRITZ!Box must obtain a public IPv4 address from the internet service provider.
  • For IPv6 internet access, the FRITZ!Box must obtain an IPv6 address from the internet service provider and the server service or network device must support the IPv6 protocol.

1 Preparations

Determining ports and IP protocols

  1. Determine which ports and IP protocols are used by the server service or application to accept incoming connections. Refer to the manufacturer for this information, for example consult the manual.

Configuring the device's firewall

If the server service or application is installed on a device with its own firewall (for example Windows firewall), the firewall must also be configured:

  1. Configure the device's firewall according to the manufacturer's instructions to allow access to the server service or application from the FRITZ!Box home network.

2 Setting up port sharing in the FRITZ!Box

  1. Click "Internet" in the FRITZ!Box user interface.
  2. Click "Permit Access" in the "Internet" menu.
  3. Click on the "Port Sharing" tab.
  4. Click the (Edit) button for the (computer) name of the device for which the port sharing rule is to be configured. If you have not configured any sharings for the device yet:
    1. Click "Add Device for Sharing".
    2. Select the (computer) name of the device from the drop-down list "Device".

      Note:If you cannot select the device, you can select "Enter the IP address manually" and enter the IP address. Only devices that automatically obtain their IP settings (DHCP) from the FRITZ!Box are listed in the drop-down list.

  5. Click "New Sharing".
  6. Enable the option "Port sharing".
  7. Select "Other application" from the drop-down list "Application".
  8. Enter a name of your choice for the port sharing rule in the "Name" field.
  9. Select the IP protocol (TCP, UDP, ESP or GRE) required by the server service or application from the drop-down list "Protocol".

    Note:The IP protocols ESP and GRE are only required for VPN server services.

  10. To enable port sharing for a single port, enter the number of the port used by the server service or application to accept connections in the "Port to device", "through..." ("to port"), and "Port requested externally (IPv4)" fields.
    • To enable port sharing for a port range:
      1. In the "Port to device" field, enter the number of the first port used by the server service or application to accept connections, and in the "to port" field, enter the number of last port.
      2. In the "Port requested externally (IPv4)" field, enter the number of the first port used by the server service or application to accept connections.
  11. Enable the sharing.
  12. Click "OK" to save the settings.

3 Setting up the FRITZ!Box for access over the internet

With MyFRITZ! you can always access the FRITZ!Box over the internet, even if the FRITZ!Box receives a different public IP address from your internet service provider on a regular basis:

  1. Set up a MyFRITZ! account in the FRITZ!Box.
  2. Determine the MyFRITZ! domain name of the FRITZ!Box.