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

How do I check memory usage on linux?

1036


What is the command to delete a file linux?

995


What are the basic commands in command prompt?

1049


How do I find hostname in linux?

1030


What does the command env do?

954


How do I check my disk space?

904


Why bash is used in linux?

987


why is the tar command used?

999


What is filter command in unix?

928


What are the basic commands for user management?

958


How do I run a .sh file in linux?

1040


How to give acl permission in numerical mode on linux?

953


What are different command to check ram, process and hdd of linux machine?

967


What language is a makefile written in?

901


What does make clean command do?

966