Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I've just setup Suse 9 and would like to run a webserver. Im new to linux and need a bit of help. My questons are: How do I allow ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2003
    Posts
    7

    Firewall configuration ?


    Hi,

    I've just setup Suse 9 and would like to run a webserver. Im new to linux and need a bit of help. My questons are:

    How do I allow connections on port 80 for http access, connections on port 21 for ftp access and on 22 for ssh access?

    My webserver is up an running, I can access my default page by typing 127.0.0.1 into my broswer url bar and it works. I also have a domain name setup. I would like to access the servers above by using the domain name of my linux machiene. Eg I would like to enter the url "suse.local" into my browser on my mac and get it to display the default web page.

    Thanks

  2. #2
    Linux User
    Join Date
    Jun 2003
    Location
    Huntington Beach, CA
    Posts
    390
    There are tons of great firewall options available. There are tons of great iptables tutorials online like http://iptables-tutorial.frozentux.net/, http://www.netfilter.org/documentation/ (official docs) and http://www-106.ibm.com/developerwork...linuxfw-i.html
    (requires free registration)If you want to go a simpler route, maybe check out shorewall, its a front end to iptables. Also there are tons of great scripts out there, http://easyfwgen.morizot.net/gen/index.php is a great site for generating firewall scripts. I hope this helps!

Posting Permissions

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