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
Explain the working of command grouping?
Which command will show you free/used memory? Does free memory exist on linux?
How do makefiles work?
Explain about sh?
What are the 4 kinds of sentences with examples?
Hi everyone i want to learn Devops in Hyderabad can anyone please suggest me best institute.
What does && mean in linux?
Explain about refer?
How to recover /etc/passwd file and /etc/shadow file?
What are the mv command options?
What command should you use to check the number of files and disk space used and each user’s defined quotas?
What is the bash in linux?
Why is unix used?
What is df command in linux?
What is in mkdir command?