How do I enable IP forwarding under RHEL / Red Hat / Fedora / CentOS Linux operating systems?
You can easily turn on IP forwarding under Linux operating system by modifying Linux kernel variables (MIB).
Linux Enable IP Forwarding
Open /etc/sysctl.conf file using a text editor, enter:
# vi /etc/sysctl.conf
Set net.ipv4.ip_forward to 1, enter:
net.ipv4.ip_forward = 1
Save and close the file. Reload the changes by typing the following command:
# sysctl -p
See: How to setup Linux as a router for DSL, T1 line etc
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- My 10 UNIX Command Line Mistakes
- Linux: 20 Iptables Examples For New SysAdmins

- 25 PHP Security Best Practices For Sys Admins
- The Novice Guide To Buying A Linux Laptop
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
Facebook it - Tweet it - Print it -



