Find the answer to your Linux question:
Results 1 to 4 of 4
I can't connect to my ftp server (vsftpd) and I suspect it's due to firewall issues. Does anybody know if it's possible to add an allowed port to the firewall ...
  1. #1
    Linux Newbie
    Join Date
    Nov 2006
    Posts
    123

    add port to firewall?

    I can't connect to my ftp server (vsftpd) and I suspect it's due to firewall issues.

    Does anybody know if it's possible to add an allowed port to the firewall via command line (so i can do it via ssh)? I know it's not my router as port 21 is allowed through that and forwarded to my box as it's worked since I've done anything to the router (on a previous install attempt).
    When i set it my current installation I added 'TFTP' to the list of allowed things to the firewall but I strongly suspect this hasn't added port 21 which is what vsftpd needs.
    My sshd and httpd servers seem to work fine.

    So how can I list the ports that my linux firewall is allowing through, and if necessary add 21 to them?

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    SUSE firewall is managed through YaST. I think you can edit the /etc/sysconfig entries and rerun sysconfig but the easiest thing to do is run yast. It works at command line level through ncurses anyway so even if you don't have X running you can work on it.

  3. #3
    Linux Newbie
    Join Date
    Nov 2006
    Posts
    123
    OK, cheers - is there a way to turn it off from the command line just to see ifit is that, then i can mess with it in detail if it is?

  4. #4
    Linux Newbie
    Join Date
    Nov 2006
    Posts
    123
    oh, I turned it off ok...
    it STILL only logs in every third try though!
    what is this shoddiness all about?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...