Re: Modify rules for Firewall

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

 



Robert Moskowitz wrote:
Jim wrote:
FC8
I had to change the SSHD Port from 22 to 2995 and since the Firewall is looking at 22 where do I make changes to 2995. Is it in /etc/sysconfig/iptables
Yes, but if you are running gnome, use the System > Administration > firewall to get to you what is basically system-config-firewall. The select to add other and allow whatever port you assign SSHD to.

Of course you change the SSHD port in /etc/ssh/sshd_config. The you can simply 'service sshd restart' to get it to the new port.

On the client side you either include -p n, or there is some file to change that makes ssh default to the port in question (don't have my docs handy).

I ALWAYs change my SSHD port. I think that is the first thing I do with an new install.

We had a 'discussion' about this on the Shorewall list a while back. The advantage of changing the port or throttling connect attempts. I think the result was 'do both'.


Yes, but if you are running gnome, use the System > Administration > firewall to get to you what is basically system-config-firewall. The select to add other and allow whatever port you assign SSHD to.

In other, just exactly what would you put there,  SSHD 2995 , as a example.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux