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 use linux command line?

1044


Explain command grouping in linux?

1035


What is the programming language for linux?

1141


When and how linux developed?

1017


What does rmdir do in linux?

938


How do I create a .txt file?

945


How do I check memory usage on linux?

1050


Describe the mknod command and when you’d use it.

1057


What are the command prompt commands?

1017


What is difference between comm and CMP command?

992


What are commands in grammar?

1018


What is nbtstat command?

1031


How do I check my cpu speed?

1024


What is the makefile in c?

940


What does f mean linux?

922