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

How do I permanently set ulimit in linux?

947


Brief about finger username?

988


What is difference between free and available memory in linux?

1000


The ‘logout’ built in command is used to

1273


What is the use of man command in linux?

1076


You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?

986


How do you clear the screen in linux?

1023


What is the export command used for?

1012


What is the difference between find and locate command in linux?

1045


What is env command in linux?

1047


What is bash history linux?

1028


What does umask 022 mean?

1146


What are runlevels in linux?

1105


Which command is used to check the number of files and disk space used and the each user’s defined quota?

1052


How can I check the exit status of my previous command in Linux operating system?

982