Commented out lines in sysctl.conf wrong

Bug #156017 reported by steve.horsley on 2007-10-22
4
Affects Status Importance Assigned to Milestone
procps (Ubuntu)
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  Edit
Everyone can see this information.

Other bug subscribers