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 / sri krishna
iptables -t filter -I INPUT -s 192.168.0.2 -P tcp --dport 80
-J ACCEPT
| Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc..?
What are linux commands?
Which command is used to see the online manual?
Main configuration file and command used for NFS enabling exported directories and deamons?
What language is clang written in?
How does diff command work?
You wish to restore the file memo.ben which was backed up in the tarfile mybackup.tar. What command should you type?
What could be the problem when a command that was issued gave a different result from the last time it was used?
Explain the ‘ls’ command in linux
What is $@ in shell?
What does f mean linux?
What is the command to see on which port which service is running?
How many cmd commands are there?
What is sudo bash command?
Explain difference between nfs soft and hard mouniting points?