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
How does case sensitivity affect the way you use commands?
What is c++ makefile?
How do I check cpu usage?
In order to improve your system’s security you decide to implement shadow passwords. What command should you use?
What are the basic commands for user management?
How do I change directories in linux command line?
What is devops model?
What is git command?
What is the command to calculate the size of a folder?
How do you create a text file in linux terminal?
Explain the working of command grouping?
How do you run command every time a file is modified?
What is the command to check cpu speed in linux?
How does mkdir work in linux?
What does touch do in linux?