Enable IP forwarding on Linux Machine

From AcrodusWiki
Revision as of 10:46, 15 July 2024 by Alex (talk | contribs) (Created page with "==Introduction== This guide shows how to enable ip forwarding on a Linux Machine running Debian 12 for both Ipv4 and Ipv6. ==HOW TO== Go to the file /etc/sysctl.conf. Edit the lines net.ipv4.ip_forward=0 to net.ipv4.ip_forward=1 and net.ipv6.conf.all.forwarding=0 to net.ipv6.conf.all.forwarding=1.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

This guide shows how to enable ip forwarding on a Linux Machine running Debian 12 for both Ipv4 and Ipv6.

HOW TO

Go to the file /etc/sysctl.conf. Edit the lines net.ipv4.ip_forward=0 to net.ipv4.ip_forward=1 and net.ipv6.conf.all.forwarding=0 to net.ipv6.conf.all.forwarding=1.