Knowledge Base
AVM Content
- FRITZ!Box 7690
- FRITZ!Box 7682
- FRITZ!Box 7590 AX
- FRITZ!Box 7590
- FRITZ!Box 7583 VDSL
- FRITZ!Box 7583
- FRITZ!Box 7582
- FRITZ!Box 7581
- FRITZ!Box 7560
- FRITZ!Box 7530 AX
- FRITZ!Box 7530
- FRITZ!Box 7520
- FRITZ!Box 7510
- FRITZ!Box 7490
- FRITZ!Box 7430
- FRITZ!Box 7390
- FRITZ!Box 7360
- FRITZ!Box 6890 LTE
- FRITZ!Box 6850 5G
Setting up a public IPv4 subnet in the FRITZ!Box
The FRITZ!Box can also be used on an internet connection with multiple fixed ("static") public IPv4 addresses. This way you can offer your server services or internet applications in the internet under different public IP addresses.
Requirements / Restrictions
- The internet service provider must supply you with a public IPv4 subnet for your internet connection. The FRITZ!Box uses the first IPv4 address of the IPv4 subnet for itself; the other IPv4 addresses can be used by devices in the home network.
Note:All instructions on configuration and settings given in this guide refer to the latest FRITZ!OS for the FRITZ!Box.
1 Setting up a public IPv4 subnet in the FRITZ!Box
- Click "Home Network" in the FRITZ!Box user interface.
- Click "Network" in the "Home Network" menu.
- Click on the "Network Settings" tab.
- Click "Additional Settings" in the section "WAN setting" or "LAN Settings" to display all of the settings.
- Click the "IPv4 Settings" button.
- Enter the public IPv4 subnet that you received from your internet service provider in the "Prefix" and "Network mask" fields in the "Public IPv4 Subnet" section.
- Click "Apply" to save the settings.
2 Configuring a network device
Adjust the IP settings of all of the network devices that should be accessible at an IP address from the FRITZ!Box's public IPv4 subnet:
Note:Network devices that are assigned a public IP address no longer obtain their IP settings from the FRITZ!Box. Therefore, they cannot access other devices in the FRITZ!Box home network or the FRITZ!Box user interface.
- For the IP address, enter an IP address from the public IPv4 network. This IP address may not already be used by another device in the FRITZ!Box home network.
- For the subnet mask, enter the subnet mask that corresponds to the public IP address.
- If necessary, enter one of the internet service provider's default gateways as the default gateway.
- As the preferred and alternative DNS server, enter the DNS server of the internet service provider.
3 Setting up port sharing in the FRITZ!Box
Configure port sharing in the FRITZ!Box for the IP addresses from the public IPv4 subnet so that your server services or internet applications can be reached in the internet:
Important:Port sharing can only be configured if there is no entry for the device in the network overview of the FRITZ!Box with a previous DHCP configuration.
Preparations
- Disconnect the device from the FRITZ!Box for which you would like to configure port sharing.
Deleting the device from the user interface
- Click "Home Network" in the FRITZ!Box user interface.
- Click "Network" in the "Home Network" menu.
- Click on the "Network Connections" tab.
- If the device for which you wish to configure port sharing is displayed in the "Idle Connections" section, click the (Delete) button next to the device.
Configuring port sharing
- Click "Internet" in the FRITZ!Box user interface.
- Click "Permit Access" in the "Internet" menu.
- Click on the "Port Sharing" tab.
- Click "Add Device for Sharing".
- Select "Enter the IP address manually" from the drop-down list "Device".
- In the "IPv4 address" field, enter the public IP address that you assigned to the device.
- Click "New Sharing".
- Enable the option "Port Sharing".
- Select "Other application" from the drop-down list "Application".
- Enter a name of your choice for the port sharing rule in the "Name" field.
- Select the IP protocol (TCP, UDP, ESP or GRE) required by the server service or internet application from the drop-down list "Protocol".
Note:The IP protocols ESP and GRE are only required for VPN server services.
- To enable port sharing for a single port, enter the number of the port used by the server service or internet application to accept connections in the "Port to device", "to port", and "Port requested externally" fields.
- To enable port sharing for a port range:
- In the "Port to device" field, enter the number of the first port used by the server service or internet application to accept connections, and in the "to port" field, enter the number of last port.
- In the "Port requested externally" field, enter the number of the first port used by the server service or internet application to accept connections.
- To enable port sharing for a port range:
- Enable the sharing.
- Click "Apply" to save the settings.