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 does case sensitivity affect the way you use commands?

1135


What is c++ makefile?

909


How do I check cpu usage?

1002


In order to improve your system’s security you decide to implement shadow passwords. What command should you use?

930


What are the basic commands for user management?

1004


How do I change directories in linux command line?

937


What is devops model?

935


What is git command?

972


What is the command to calculate the size of a folder?

1020


How do you create a text file in linux terminal?

1007


Explain the working of command grouping?

1004


How do you run command every time a file is modified?

959


What is the command to check cpu speed in linux?

1007


How does mkdir work in linux?

1192


What does touch do in linux?

972