Linux's IP forwarding settings summarizedUnlike many Unixes, Linux determines whether or not it does IP
forwarding on an interface by interface basis, based on interface the
packet arrived on. While Linux has a global IP forwarding sysctl,
The fine controls are in
For most purposes I suspect that you want to ignore the ' (And if you want to entirely turn off IP forwarding on a machine in an emergency, the global sysctl is definitely the way to go.) Note that a forwarded packet can get routed out through any active interface, regardless of the interface's forwarding setting. If you need to restrict what outgoing interfaces forwarded packets can use, you need some form of policy based routing. (This is one of those entries I write to make sure that I have this information handy the next time I need it, since it is not really well covered in the documentation I could find.) (One comment.)
|
These are my WanderingThoughts GettingAround This is part of CSpace, and is written by ChrisSiebenmann. * * * Atom feeds are available; see the bottom of most pages. Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web |