File: interfaces-forward.scd

package info (click to toggle)
ifupdown-ng 0.12.1-9~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 968 kB
  • sloc: ansic: 3,572; sh: 980; makefile: 233
file content (48 lines) | stat: -rw-r--r-- 1,103 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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_
	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>