Re: modify sshd port number

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

 



On Mon, 2009-08-24 at 11:01 -0400, pete b. wrote:
> These are my questions:
> 1. Does the Firewall Configuration Tool modify a file? Which one?

/etc/sysconfig/iptables

You can also use the iptables command to temporarily, and permanently,
change rules via the command line.  See the man file.

> 2. Can I change the sshd port number via the Firewall Configuration
> Tool? 

Not directly, the firewall tool configures the firewall.  Configuring a
server is done by configuring that server.  However, one can make port
redirection rules in the firewall (route an incoming port connection to
go to a different port).  That works for simple protocols, but can be a
problem with services that open ports in different directions, and not
always the same port.

> NB, can someone specify all the instructions for this, when I tried it
> I was unable to select a service.

If you play with the trusted services list in the firewall, that just
has some prepared rules, associating names of some common services with
their usual port number.  If you want to open up other ports, then
specify them manually in the other ports section (add a port, pick a
listed one from the list of common services, or tick the user defined
box and type in the ports you want and whether tcp or udp; create two
rules if you need both tcp and udp).  

It's not that hard to work out by looking at the GUI options.  If you
don't understand firewalling and routing, then that's what you need to
read about first.

-- 
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



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