Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the command to check cpu speed in linux?

975


How do you execute more than one command or program from a single command line entry?

933


What is grep command in linux with examples?

1010


How do I list all processes in linux?

951


What is option in linux command?

1083


What does (cd dir && command) do?

968


What does free command do in linux?

1055


You want to copy the user’s home directories to a new location. Which of the following commands will accomplish this?

946


How do I check if my cpu is overclocked?

1003


How do I run a .sh file in linux?

1061


Explain about sh?

950


What are grep patterns called?

994


What is linux pwd (print working directory) command?

928


Find command can search for files by

910


How do you know which shell I am using in linux?

1021