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 language is clang written in?
How do I start ms dos?
How do I check storage on linux?
Explain about system and user utilities?
What is the difference between find and locate command in linux?
How can we increase disk read performance in single command?
Which command is used to compare the files?
You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?
How can I delete a file in linux?
Which command would you use to create a file system on a new hard drive?
What is $@ in bash?
What does f mean linux?
What is the difference between cd and cd in linux?
What is ulimit command?
What are the linux commands used in devops?