table of contents
interfaces-forward(5) | File Formats Manual | interfaces-forward(5) |
NAME¶
interfaces-forward - forwarding vocabulary for the interfaces(5) file format
DESCRIPTION¶
Linux allows for configuration of IP packet forwarding behavior on a protocol and interface basis. The following options allow for this configuration.
FORWARDING-RELATED OPTIONS¶
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
forward-ipv6 yes|no
forward-ipv4-mc yes|no
forward-ipv6-mc yes|no
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>
2022-10-15 |