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 / manoj samtani

iptables -I INPUT -s 172.168.0.1 -p tcp --dport 80 -d 192.168.0.2 -j ACCEPT

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the working of command grouping?

1030


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

1032


How do makefiles work?

1062


Explain about sh?

1006


What are the 4 kinds of sentences with examples?

1038


Hi everyone i want to learn Devops in Hyderabad can anyone please suggest me best institute.

1640


What does && mean in linux?

1123


Explain about refer?

997


How to recover /etc/passwd file and /etc/shadow file?

995


What are the mv command options?

903


What command should you use to check the number of files and disk space used and each user’s defined quotas?

1081


What is the bash in linux?

1030


Why is unix used?

996


What is df command in linux?

1029


What is in mkdir command?

1126