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 do I check memory usage on linux?
What is the command to delete a file linux?
What are the basic commands in command prompt?
How do I find hostname in linux?
What does the command env do?
How do I check my disk space?
Why bash is used in linux?
why is the tar command used?
What is filter command in unix?
What are the basic commands for user management?
How do I run a .sh file in linux?
How to give acl permission in numerical mode on linux?
What are different command to check ram, process and hdd of linux machine?
What language is a makefile written in?
What does make clean command do?