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 often do you use grep command and how in Linux operating system?
What is cpu in linux?
What are system commands?
How do I check dns entry?
How do I permanently delete linux history?
How do you create a blank file in linux?
what do know about commands?
Explain difference between swap partition and swap file?
How do you limit memory usage for commands?
Does linux cp command overwrite?
How do I run a shell script?
can any one send me one project on linux ...?
What are grep patterns called?
How do I find hostname in linux?
What are the basic dos commands?