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 / vaithy

iptables -A INPUT -t filter -s 172.168.0.1 -p tcp --sport 80 -d 192.168.0.2 -j ACCEPT

Is This Answer Correct ?    25 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain any one service which are working on udp only?

902


What is the programming language for linux?

1194


How do I find old commands in linux?

1095


What is whois command in linux?

1116


How do I run a bash script in linux?

1015


What is mkdir p linux?

1075


What is mkdir m in linux?

1047


What are the examples of simple command?

1113


Explain about chmod options filename?

1144


What is df -h command?

1157


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

1036


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

1166


Write about an internal command.

1031


Which command reduces the size of a file?

1189


What is option in linux command?

1201