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 you create a text file in linux?
Which command is used to check the number of files and disk space used and the each user’s defined quota?
What does r mean linux?
What is kill command?
What is command grouping and how does it work?
What is the use of mv command in linux?
Which command will show you free/used memory? Does free memory exist on linux?
Brief about finger username?
What is in mkdir command?
What does the ps command do in linux?
Explain about communication features in UNIX?
How do I find hostname in linux?
How find ip address linux?
What does (cd dir && command) do?
You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?