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

How do make computer faster?

1008


What signal is ctrl c?

971


How do I run a .sh file in linux?

1128


What is bash linux?

1051


What is build process?

1039


Explain grep command.

1027


What are commands in grammar?

1088


What is devops model?

966


What is FC command?

888


What is umask in linux?

982


Which command puts a script to sleep untill a signal is recieved?

1094


What is option in linux command?

1204


How do I run whois command?

1068


What does chmod 777 do?

1099


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

1043