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 the command to check cpu speed in linux?
How do you execute more than one command or program from a single command line entry?
What is grep command in linux with examples?
How do I list all processes in linux?
What is option in linux command?
What does (cd dir && command) do?
What does free command do in linux?
You want to copy the user’s home directories to a new location. Which of the following commands will accomplish this?
How do I check if my cpu is overclocked?
How do I run a .sh file in linux?
Explain about sh?
What are grep patterns called?
What is linux pwd (print working directory) command?
Find command can search for files by
How do you know which shell I am using in linux?