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
What is cmake in linux?
How can we increase disk read performance in single command in Linux operating system?
What is $@ in bash?
What are grep patterns called?
Where is command history stored in linux?
What is the root directory linux?
Which command would you use if you want to remove the password assigned to a group?
What is c++ makefile?
How to root mirror in linux?
How much ram do I have linux?
What is clang space engineers?
You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose
How do I set permission to run in linux?
Which command will show you free/used memory? Does free memory exist on linux?
How do you create a file in linux?