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

Is makefile a shell script?

1004


How do I know my linux shell version?

1101


What is gnu in linux?

1048


What are the examples of simple command?

1113


What is the difference between kill and kill in linux?

1323


How do I clear bash history in linux?

1035


What is mkdir m in linux?

1046


How do you create a file in linux?

1071


How do you insert comments in the command line prompt?

1190


Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.

1746


What is linux load average?

1145


How use more command in linux?

1113


Why makefile is used in linux?

1106


What command would you use to create an empty file without opening it to edit it?

1040


What does chmod 644 do?

1028