[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

are these rules the same?

Hi guys!

I have a doubt about allow lo traffic.

May I use this rule?

iptables -A INPUT -s lo -d lo -j ACCEPT

Or, is it the correct form?

iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT

Well, I think both have the same meaning...

Is it ok?

Thanks a lot.


Reply to: