Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 10-18-2005, 08:50 PM   #1
Charles Daniel
Registered: Aug 2004
Location: Missouri City, Tx
Posts: 39

Rep: Reputation: 15
Help w/ FTP and SSH rules

Well part of the questions deals with iptables and part deals with configuration.

What ports do I need to open to run an ftp server from my Linux host? And how do I configure SSH so that I can manage my server from a remote location?

Also what ports to open to allow SSH access from a remote client? What software need to be run at the remote client that will allow my to login a session.

If you have an iptables example it would be helpful as well.


Old 10-18-2005, 09:58 PM   #2
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
I don't have an iptables example for you, but here is the project page: It has comprehensive documentation.

ftp server - usually runs on port 21.
ssh server - usually runs on port 22.

Instead of running an ftp server, consider learning about and running the sftp-subsystem. Also, don't start running any servers until you understand them and know how to secure them.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IPTABLES rules for active FTP TruckStuff Linux - Security 7 04-22-2009 06:21 PM
setting rules in iptables through ssh bijuhpd Linux - Newbie 1 11-11-2005 07:59 PM
iptables rules for ssh Loke Linux - Security 4 09-12-2004 05:24 PM
IPFW rules for blocking ftp ????? Atrocity *BSD 1 06-22-2004 09:45 AM
Configuring firewall rules for passive ftp linuxboy69 Linux - Security 8 01-13-2004 04:38 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration