Quote:
Originally Posted by zhjim
How do you ping your machine? Do you ping it on IP address or on name?
Also your rules only accept incoming traffic on lo interface but not outgoing on lo. Thus after "iptables -A INPUT -i lo -j ACCEPT" add: "iptables -A OUTPUT -i lo -j ACCEPT"
Nother thing are your last two lines "iptables -A INPUT -j DROP; iptables -A OUTPUT -j DROP". You allready set this at the start. Also it wont hurt its just not needed.
|
Both not worked.
iptables -A OUTPUT -i lo -j ACCEPT :
iptables v1.4.14: Can't use -i with OUTPUT
Try `iptables -h' or 'iptables --help' for more information.