In: Computer Science
#1) What is shunning (in network term)?
#2) Using iptables, in which chain would you create rules to block all outgoing traffic not meeting certain exceptions?
Please explain clearly and WILL BE UPVOTED!!!
1. In networking terms, Shunning the sensor ability to use a network device to prevent entry to either specific network host or ,to a whole network
2. Using WINDOWS FIREWALL chain would create to block all outgoing traffic not meeting certain exceptions.
IPtables is basically a powerful firewall, which can allow a user to set specific rules to control incoming and outgoing traffic we can use it to block, specific port,IP addresses and much more.
The IPtables rules can be specified with 3 blocks which can be used for specific purpose called chains.
Input-all packets destined for the host computer.
Output-All packets originating from host computer
Forward-All packets neither destined for nor Originating from the host computer,but passing through the host computer.This is used if we use the computer as a router.
Delete existing rules-"iptables -F".
Allow only incoming SSH -"iptable A INPUT -i-eth0-p tcp-dport 22 j ACCEPT"
Drop all other incoming packets:
"IPTABLE-A-INPUT-j-DROP".