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 / sri krishna
iptables -t filter -I INPUT -s 192.168.0.2 -P tcp --dport 80
-J ACCEPT
| Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
How use linux command line?
Explain command grouping in linux?
What is the programming language for linux?
When and how linux developed?
What does rmdir do in linux?
How do I create a .txt file?
How do I check memory usage on linux?
Describe the mknod command and when you’d use it.
What are the command prompt commands?
What is difference between comm and CMP command?
What are commands in grammar?
What is nbtstat command?
How do I check my cpu speed?
What is the makefile in c?
What does f mean linux?