On 02/06/2013 11:54 AM, Ranjan Maitra wrote:
Hello,

I was trying to get a different ssh port using my firewall-config: I
try the following:

I always move my SSHD port in 3 steps:

Edit /etc/ssh/sshd_config to point to the new port
Add the port to firewall
fix selinux:  semanage port -a -t ssh_port_t -p tcp nnn
        where nnn is the port number.

And it works.


sudo firewall-config

go in there and in the public, under services, I get ssh checked. I
presume that is good.

Then I go to ports, add in my port number, and put tcp as the protocol.

Then I go out, start firewalld, get no messages. But I can not ssh in
with a different port. (iptables service has no problems with this).

What should I be doing to get this working correctly?

Many thanks for any advice,
Ranjan



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to