Skip to content

Fritz!Box DNS Entry

Creat Entry for Unregistered Host

Steps to add subnet to the Fritz!Box:

  1. Open Fritz!Box web interface
  2. Go to "Home Network" → "Network" → "Network Settings"
  3. Click on "Additional Settings" at the bottom
  4. Click on "IPv4 Routes"
  5. Enter the subnet details 10.0.3.0 with 255.255.255.0 and the gateway which is e.g., a LXC-container host
  6. Save the changes

Steps to create entry:

  1. Open Fritz!Box web interface
  2. Go to "Internet" → "Permit Access" → "Port Sharing"
  3. Click on "Add Device for Sharing"
  4. For "Device" select "Enter IP address manually"
  5. For "IPv4 address" enter the IP address of the host, this can be an LXC container with a different subnet.
  6. Save the changes

The "Port Sharing" tab overview will show you the new entry as PC-10-0-3-237 when the previous filled-in IP address is 10.0.3.237.

Now under "Home Network" → "Network" → "Network Connections" edit the entry name PC-10-0-3-237 and rename it to the required hostname.

# Route traffic destined for 10.0.11.0/24 via the gateway
ip route add 10.0.11.0/24 via 192.168.178.203
# Allow forwarding of that traffic
iptables -A FORWARD -d 10.0.11.0/24 -j ACCEPT
iptables -A FORWARD -s 10.0.11.0/24 -j ACCEPT