LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Opening ports on SuSE firewall2 (https://www.linuxquestions.org/questions/linux-newbie-8/opening-ports-on-suse-firewall2-312247/)

gogogadgetearl 04-11-2005 11:03 PM

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

Gay R0b0t 04-11-2005 11:20 PM

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.

Gay R0b0t 04-11-2005 11:29 PM

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.

gogogadgetearl 04-11-2005 11:45 PM

Excellent, thank-you!!

Gay R0b0t 04-12-2005 12:01 AM

its all good mate, glad to help.
did it work fine?

gogogadgetearl 04-12-2005 07:15 AM

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. ':-/

Gay R0b0t 04-12-2005 08:28 AM

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.

Carmageddon 04-22-2005 03:18 PM

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


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