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
Explain any one service which are working on udp only?
What is the programming language for linux?
How do I find old commands in linux?
What is whois command in linux?
How do I run a bash script in linux?
What is mkdir p linux?
What is mkdir m in linux?
What are the examples of simple command?
Explain about chmod options filename?
What is df -h command?
Which command will show you free/used memory? Does free memory exist on linux?
What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?
Write about an internal command.
Which command reduces the size of a file?
What is option in linux command?