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 / vaithy
iptables -A INPUT -t filter -s 172.168.0.1 -p tcp --sport 80 -d 192.168.0.2 -j ACCEPT
Is This Answer Correct ? | 25 Yes | 2 No |
Post New Answer View All Answers
Explain the linux directory commands along with the description?
What is the difference between kill and kill in linux?
How do I find my user id in linux?
Explain the ‘ls’ command in linux
How do I check dns entry?
What is gnu in linux?
What will happen when a system call is encountered in a user program?
How do you insert comments in the command line prompt?
Who is unix command?
What are the command prompt commands?
How use linux command line?
What does && mean in linux?
What is the use of ls command?
What is cat command in linux?
What could possibly be the problem when a command that was issued gave a different result from the last time it was used?