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
Why makefile is used in linux?
Find command can search for files by
How do I list directories in linux?
Explain about sh?
What is command example?
How do I check terminal history?
What does (cd dir && command) do?
What is bash history linux?
What are the basic commands for user management?
What does rmdir do in linux?
How do I clear my run history?
What would be the result of the command paste -s dog cat?
Brief about finger username?
How do I change shell in linux?
What is type command in linux?