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 I find the linux version?
What is the command to calculate the size of a folder?
Find command can search for files by
What is an os command?
What signal is ctrl c?
What does umask 077 mean?
What would be the result of issuing the command cat phonenos?
What does chmod 777 do?
How does case sensitivity affect the way you use commands?
The ‘logout’ built in command is used to
How do I permanently delete linux history?
What is the difference between kill and kill in linux?
What is linux load average?
What are the mv command options?
What does mkdir do in linux?