Re: using different ssh port in firewalld

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

 




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@xxxxxxxxxxxxxxxxxxxxxxx
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


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux