User Tools

Site Tools


ubuntu:networking:configuration:ip_forwarding

This is an old revision of the document!


Ubuntu - Networking - Configuration - IP Forwarding

IP forwarding is the ability for an operating system to accept incoming network packets on one interface, recognize that it is not meant for the system itself, but that it should be passed on to another network, and then forwards it accordingly.


Enable Port Forwarding

Uncomment or add this line to /etc/sysctl.conf:

<file bash /etc/sysctl.conf> net.ipv4.ip_forward=1 </code>

Then run:

sysctl -p
ubuntu/networking/configuration/ip_forwarding.1627297356.txt.gz · Last modified: 2021/07/26 11:02 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki