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
What is cmake in linux?
What language is a makefile written in?
What is FC command?
How do I check memory usage on linux?
What does chmod 777 do?
What are the 7 types of sentences?
What does ls mean in linux?
What is clang linux?
What does the command env do?
What is tail command in linux?
What is the command can be run to remove all the rules in an iptable table?
How do I run a .sh file in linux?
What is the syntax of mkdir?
What is command line in unix?
Brief about the command ff?