how do you configure linux system as a router?
Answer Posted / mahendra yadav
iptables -I FORWARD -i eth0 -o eth1 -j ACCEPT
iptables -I FORWARD -i eth1 -o eth0 -j ACCEPT
vim /etc/sysctl.conf
net.ipv4.ip_forward = 1
:wq
/etc/init.d/iptables save
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How do I permanently set ulimit in linux?
Brief about finger username?
What is difference between free and available memory in linux?
The ‘logout’ built in command is used to
What is the use of man command in linux?
You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?
How do you clear the screen in linux?
What is the export command used for?
What is the difference between find and locate command in linux?
What is env command in linux?
What is bash history linux?
What does umask 022 mean?
What are runlevels in linux?
Which command is used to check the number of files and disk space used and the each user’s defined quota?
How can I check the exit status of my previous command in Linux operating system?