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 overclock my cpu?
How do I find the linux version?
The command ‘umask -S’
What is linux pwd (print working directory) command?
What is tty name?
How do you create a blank file in linux?
What is cpu core in linux?
Who linux commands?
What is mkdir?
What is ll command in unix?
How do you run a command for a limited time?
What is file and example?
What is command line in unix?
What is the best cpu stress test?
What is p in mkdir?