Re: setting up ssh

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

 



On 08/26/2011 02:55 PM, Peter G. wrote:
> Michael Cronenworth wrote:
>
>> # iptables -L | grep ssh
>> ACCEPT     tcp  --  anywhere             anywhere            state NEW
>> tcp dpt:ssh
>
> You know, I just tried your command again, but this time without grepping, and
> I see that ssh is nowhere in the output, so how could grep ssh ever return
> anything?
>
> But, when I examine /etc/sysconfig/iptables, I see:
>
> -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
>
> Doesn't that mean that port 22 is open?
>
> And if so, why does your command not show any output, while
> /etc/sysconfig/iptables would suggest that the port is opened?
>
> Any yet, there is still no communication possible. What is wrong?
>
  I assume you have rebooted after changing firewall rules and/or issued:

# systemctl restart iptables.service

If so, then I dunno....

-- 
Regards,
OldFart

-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux