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 / sri krishna

iptables -t filter -I INPUT -s 192.168.0.2 -P tcp --dport 80
-J ACCEPT

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc..?

1159


What are linux commands?

1037


Which command is used to see the online manual?

1095


Main configuration file and command used for NFS enabling exported directories and deamons?

1041


What language is clang written in?

903


How does diff command work?

978


You wish to restore the file memo.ben which was backed up in the tarfile mybackup.tar. What command should you type?

948


What could be the problem when a command that was issued gave a different result from the last time it was used?

1244


Explain the ‘ls’ command in linux

1094


What is $@ in shell?

968


What does f mean linux?

973


What is the command to see on which port which service is running?

1016


How many cmd commands are there?

999


What is sudo bash command?

1040


Explain difference between nfs soft and hard mouniting points?

956