Commented out lines in sysctl.conf wrong

Bug #156017 reported by steve.horsley
4
Affects Status Importance Assigned to Milestone
procps (Ubuntu)
New
Undecided
Unassigned

Bug Description

I want to have IPv4 forwarding enabled when the PC boots. Googling found a forum thread that says to add this line to /etc/sysctl.conf:
net.ipv4.ip_forward=1

The above line works. However, the file contains the following commented-out lines:
# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.conf.default.forwarding=1

The above line does NOT turn IP forwarding on. I suspect (but haven't tested) that every other example line in the file is wrong too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.