interfaces-forward(5)

🌸 NAME 🌸

okay bestie, meet interfaces-forward β€” it's the forwarding vocabulary for the interfaces(5) file format, and it's giving very β€œsection 5, File Formats Manual” energy. 🫢

✨ DESCRIPTION ✨

Linux allows for configuration of IP packet forwarding behavior on a protocol and interface basis β€” yes, protocol and interface. The following options allow for this configuration. πŸ’…

ngl, the forward executor will only modify the sysctl configuration if these options are provided, otherwise other mechanisms such as /etc/sysctl.conf may be used. πŸ’€
  • forward-ipv4 yes|no β€” whether the interface should forward unicast IPv4 packets. πŸ‘‘
  • forward-ipv6 yes|no β€” whether the interface should forward unicast IPv6 packets. πŸ¦‹
  • forward-ipv4-mc yes|no β€” whether the interface should forward multicast IPv4 packets. 🌈
  • forward-ipv6-mc yes|no β€” whether the interface should forward multicast IPv6 packets. ⭐

🌈 EXAMPLES 🌈

The typical home router scenario will want to forward both IPv4 and IPv6 packets:

           iface WAN
                use dhcp
                forward-ipv4 yes
                forward-ipv6 yes

           iface LAN
                address 192.168.0.1/24
                forward-ipv4 yes
                forward-ipv6 yes

πŸŽ€ AUTHORS πŸŽ€

Ariadne Conill <ariadne@dereferenced.org> β€” the author, the icon, the legend. πŸ’–


and that's the whole page, bestie 🫢 source/version: File Formats Manual Β· page/version: interfaces-forward(5) Β· date: 2026-05-10. byeee, go forward (the packet kind) πŸ’…βœ¨

πŸ“¦ where this page comes from