LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-11-2005, 11:03 PM   #1
gogogadgetearl
LQ Newbie
 
Registered: Apr 2005
Location: Stationed in Alabama, USA
Distribution: SuSE 9.3, KDE 3.4
Posts: 15

Rep: Reputation: 0
Opening ports on SuSE firewall2


How can I open a port with SuSE firewall2? I've just set up pure-ftpd, and I want to test it.

I'm running SuSE 9.2. I'm not too proficient with the console yet, so you might have to be specific with the commands.

Thanx!!
 
Old 04-11-2005, 11:20 PM   #2
Gay R0b0t
Member
 
Registered: May 2004
Location: Sydney, Australia
Distribution: SUSE 9.3
Posts: 127

Rep: Reputation: 15
Open yast, then go to Security (i think, second from bottom). Inside there should be a module called Firewall, open that.

Click through the first few pages to the one about services and servers. Select the one marked ftp.

Im booting into suse now, so i'll reply again with better instructions.
 
Old 04-11-2005, 11:29 PM   #3
Gay R0b0t
Member
 
Registered: May 2004
Location: Sydney, Australia
Distribution: SUSE 9.3
Posts: 127

Rep: Reputation: 15
Open YaST.
Click on 'Security and Users'
Click on 'Firewall'
*new window should pop up*
Select "Reconfigure Firewall Settings" and click next.
Click next again - your external (and internal) interfaces are probably already setup right.
Click Expert (bottom right) and in the "Additional TCP Services" section, write '21:22'
Then click OK.
Then click next twice.
Then Finish.

This will allow people to connect to your computer on ports 21 and 22.
You probably only need port 21 opened (in which case use 21 instead of 21:22), but the pure-ftpd documentation (on website) will tell you which you need.
 
Old 04-11-2005, 11:45 PM   #4
gogogadgetearl
LQ Newbie
 
Registered: Apr 2005
Location: Stationed in Alabama, USA
Distribution: SuSE 9.3, KDE 3.4
Posts: 15

Original Poster
Rep: Reputation: 0
Excellent, thank-you!!
 
Old 04-12-2005, 12:01 AM   #5
Gay R0b0t
Member
 
Registered: May 2004
Location: Sydney, Australia
Distribution: SUSE 9.3
Posts: 127

Rep: Reputation: 15
its all good mate, glad to help.
did it work fine?
 
Old 04-12-2005, 07:15 AM   #6
gogogadgetearl
LQ Newbie
 
Registered: Apr 2005
Location: Stationed in Alabama, USA
Distribution: SuSE 9.3, KDE 3.4
Posts: 15

Original Poster
Rep: Reputation: 0
Well...it seemed to. I could log in with LeechFTP from my WinXP laptop, but when it tried to get a dir listing...timed out. ':-/
 
Old 04-12-2005, 08:28 AM   #7
Gay R0b0t
Member
 
Registered: May 2004
Location: Sydney, Australia
Distribution: SUSE 9.3
Posts: 127

Rep: Reputation: 15
check that your pure-ftpd start command is correct (all the appropriate flags are selected). Don't post the command, as it may be a security risk on your behalf.
all I can say is that I have had problems making pure-ftpd run fine in the past, but it was usually something that could be fixed by re-writing the start command.
 
Old 04-22-2005, 03:18 PM   #8
Carmageddon
LQ Newbie
 
Registered: Apr 2005
Location: Israel
Distribution: SuSE 9.3 Pro
Posts: 3

Rep: Reputation: 0
uhm I have the same problem, but in my case I am trying to run glftpd 2 on port 9090.
I tried to manually add the port to firewalls configuration, and now I get some response from server:

Code:
[L] Connecting to lappy
[L] Connecting to 192.168.0.244:9090
[L] Connection Reset by Peer(10054)
[L] Retrying after 5 seconds for lappy
[L] lappy disconnected
I tried exactly the way Gay R0b0t told to do, and I saw in expert the port 9090 already added on tcp.. for anycase I added it on udp but no luck..

I also noted something strange: under /etc/services I have something called websm on port 9090 and both tcp and udp.. maybe thats the reason it doesn't work? what is this websm anyway?

Thanks
 
  


Reply


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
SUSE Firewall2? port666 SUSE / openSUSE 3 08-01-2005 10:05 PM
Opening ports lunke Linux - Security 10 06-07-2005 03:04 AM
Kopete OK with SuSE firewall2? naps SUSE / openSUSE 0 12-31-2004 09:31 AM
Ports still not opening! Help? spam4scott Linux - Networking 1 05-28-2004 12:48 AM
Opening Ports george3k Linux - Newbie 7 02-16-2003 01:59 PM


All times are GMT -5. The time now is 07:33 PM.

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