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...

I want to built a fire wall using iptables. My condition is
" inbound to 192.168.0.2 with a port of 80 from
172.168.0.1 should accept"

Answer Posted / manoj samtani

iptables -I INPUT -s 172.168.0.1 -p tcp --dport 80 -d 192.168.0.2 -j ACCEPT

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you create a text file in linux?

1125


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

1038


What does r mean linux?

1051


What is kill command?

1007


What is command grouping and how does it work?

1117


What is the use of mv command in linux?

1036


Which command will show you free/used memory? Does free memory exist on linux?

1015


Brief about finger username?

954


What is in mkdir command?

1092


What does the ps command do in linux?

1010


Explain about communication features in UNIX?

1066


How do I find hostname in linux?

1072


How find ip address linux?

1052


What does (cd dir && command) do?

978


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

968