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
Is makefile a shell script?
How do I know my linux shell version?
What is gnu in linux?
What are the examples of simple command?
What is the difference between kill and kill in linux?
How do I clear bash history in linux?
What is mkdir m in linux?
How do you create a file in linux?
How do you insert comments in the command line prompt?
Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.
What is linux load average?
How use more command in linux?
Why makefile is used in linux?
What command would you use to create an empty file without opening it to edit it?
What does chmod 644 do?