που είναι το λάθος; iptables script

Thanasis thanasis at asyr.hopto.org
Sun May 8 18:52:48 EEST 2011


on 05/08/2011 06:45 PM Antonis Kouzoupis wrote the following:
> On Sun, May 08, 2011 at 06:36:09PM +0300, Demosthenes Koptsis wrote:
>> rules()
>> {
>>   ####### Allow any ssh client to any remote ssh server
>>   iptables -A OUTPUT -p tcp --dport 22 -j ACCEPT
>>   iptables -A INPUT -p tcp --sport 22 -j ACCEPT 
>>   ##########################################################
>> }
> 
> Stous parapano kanones exeis valei anapoda to source port kai to destination
> port. Stin INPUT alusida 8a prepei na exeis to destination port kai stin OUTPUT
> to source.
> 
> Skepsou xontrika ti timh exoun ta paketa otan ftanoun sto mhxanhma sou sto pedio
> tou source kai destination port...
> 

Εγώ κατάλαβα ότι μιλάει για μηχάνημα με ρόλο client ssh


More information about the Linux-greek-users mailing list