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 Omada EAP653, AX3000 ~ 88.26 € Show me | |
MikroTik RouterBOARD hAP ax² (C52iG-5HaxD2HaxD-TC) ~ 87.88 € Show me |