iprsetup(8)iprsetup(8)NAMEiprsetup - Internet Protocol router setup
SYNOPSIS
/usr/sbin/iprsetup -s
/usr/sbin/iprsetup -sd
/usr/sbin/iprsetup -r
/usr/sbin/iprsetup -rd
/usr/sbin/iprsetup -fvalue
/usr/sbin/iprsetup -fvalued
/usr/sbin/iprsetup -d
OPTIONS
Sets ipforwarding and ipgateway to one, which means the system func‐
tions as an IP router. This option cannot be combined with the -r
option. Resets ipforwarding and ipgateway to zero, which means the
system does not function as an IP router. This option cannot be com‐
bined with the -s and -f options. Sets ipforwarding and ipgateway to
one (like the -s option), and also sets ipfirewall to one, which means
the system functions as an IP firewall. Additionally, sets ipsrcroute
and ipchkredirects according to the specified value. The following ta‐
ble shows the valid values and their meaning:
─────────────────────────────────────────────────────────
Value Meaning
─────────────────────────────────────────────────────────
0 Sets both ipsrcroute and ipchkredirects to zero
1 Sets ipsrcroute to zero and ipchkredirects to
one
2 Sets ipsrcroute to one and ipchkredirects to
zero
3 Sets both ipsrcroute and ipchkredirects to one
─────────────────────────────────────────────────────────
This option cannot be combined with the -r option. Only applica‐
tion gateways for firewall services use this option. Displays
the values of ipforwarding and ipgateway. The values are dis‐
played after the values are changed when combined with the -s,
-r, and -f options.
DESCRIPTION
The iprsetup command sets the ipgateway and ipforwarding variables in
the running kernel allowing your system to function as an Internet Pro‐
tocol router.
When ipfirewall variable is set to one, the following variables are
also set: Indicates whether IP source-routed packets are accepted (1)
or dropped immediately (0). Indicates whether ICMP Redirect messages
are authenticated (1) or accepted with no authentication (0).
SEE ALSO
Network Administration: Connections
iprsetup(8)