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
Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.
How do I permanently delete linux history?
Why is unix used?
Explain about sh?
How can I create a file with cmd?
What is nbtstat command?
What is cpu utilization linux?
What is kill 9 in linux?
What is parallel ssh?
How will you suspend a running process and put it in the background?
What command would you use to check how much memory is being used by linux?
Which are the linux directory commands?
Write a command that will display all .txt files, including its individual permission.
What are the 4 kinds of sentences with examples?
What the command used for search file or files for specific text?