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 language is clang written in?

892


How do I start ms dos?

910


How do I check storage on linux?

1015


Explain about system and user utilities?

952


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

1031


How can we increase disk read performance in single command?

1020


Which command is used to compare the files?

977


You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?

1036


How can I delete a file in linux?

1054


Which command would you use to create a file system on a new hard drive?

1046


What is $@ in bash?

1132


What does f mean linux?

950


What is the difference between cd and cd in linux?

982


What is ulimit command?

1067


What are the linux commands used in devops?

1029