Linux IP Forwarding - How to enable/disable IPv4 forward
This article describes how to permanently enable IPv4 forwarding on a Linux-based system.
This article describes how to permanently enable IPv4 forwarding on a Linux-based system.
In many situations it is necessary to allow IP packets to be forwarded on the Linux system. For this use case there are countless software which need this option.
You can check the ip forward status with following command.
cat /proc/sys/net/ipv4/ip_forward
## 0 = disabled
## 1 = enabled
With these options, the setting is reset after a system restart.
sysctl -w net.ipv4.ip_forward=1
OR
echo 1 > /proc/sys/net/ipv4/ip_forward
nano /etc/sysctl.conf
## EDIT LINE TO ##
net.ipv4.ip_forward = 1
## SAVE FILE ##
## To reload sysctl ##
sysctl -p
The DynDNS service of IPv64.net is free of charge and usable in all common routers and systems.
You have the choice between many different domain names.
The IPv64.net Healthchecks monitor your services, servers and endpoints. Receive notifications when your services fail.
This monitoring service is free with all features.
Registration with IPv64 is free of charge and immediately available for you.
TP-Link Tapo C500 ~ 44.90 € Show me | |
TP-Link Omada EAP653, AX3000 ~ 89.26 € Show me |