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 do I clear terminal command history?
What is the difference between rmdir and rm r?
Can I delete .bash history?
What is command line in unix?
How do you execute more than one command or program from a single command line entry?
What is lsof command in linux?
How do you check which file consuming more space in linux?
Which command is used to clear the screen?
What would be the result of the command paste -s dog cat?
What are the mv command options?
Which command will show you free/used memory? Does free memory exist on linux?
Which command is used to delete a group?
What is SFC command?
What is $@ in bash?
How do I find command history in linux?