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
How do I check my disk space?
How do you check which file consuming more space in linux?
What is the purpose output of cd command?
What does bash stand for?
Brief about finger username?
How can I delete a file in linux?
When and how linux developed?
Who am I command in linux?
What is a make target?
What does cd do in linux?
What is the command to see on which port which service is running?
What does sh do in linux?
What is mask and umask in linux?
What is tty name?
What is phony in makefile?