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 does mkdir work in linux?
What does chmod do in linux?
What is tty name?
What is the gcc command?
How do I check memory usage on linux?
I am using RedHat 6.3 in I wanna to install and configure zimbra mail. Can anybody tell me what are the RPM packages required for zimbra mail ? Where can I get those RPM packages ?
What is finger command in linux?
What is the command can be run to remove all the rules in an iptable table?
What does cd – command do?
What Command used to lock user password?
please advice me what i have to prepare for NIC Exam(22-feb- 09). send me the question pattern for the 2 hrs exam. please sent it to manivannan_it15@yahoo.co.in
What is the difference between kill and kill in linux?
How can we increase disk read performance in single command in Linux operating system?
How to write the output of a command to a file?
How do I open a text file in cmd?