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
What is help command in linux?
What command would you use to check how much memory is being used by linux?
What is the pwd command?
What are the commands in linux?
What is bash history linux?
Why ms dos is used?
You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this?
Which command is used to compare the files?
State and explain about features of UNIX?
What is command line in unix?
How does diff command work?
What is kill 9 in linux?
What does pwd mean in linux?
Why is linux cpu usage so high?
What does make clean command do?