Re: using different ssh port in firewalld

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

 



Sorry, I guess I should have mentioned that I had already done steps 1,
2 and 3 (which is something I also always do).

It is only with firewalld that I have this problem. So, how do I handle
this firewalld? iptables works fine, but needs a restart upon every
reboot in F18.

Ranjan

On Wed, 6 Feb 2013 12:12:45 -0500 Robert Moskowitz
<rgm@xxxxxxxxxxxxxxx> wrote:

> 
> 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
-- 
Important Notice: This mailbox is ignored: e-mails are set to be
deleted on receipt. For those needing to send personal or professional
e-mail, please use appropriate addresses.

____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
Check it out at http://www.inbox.com/marineaquarium


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