Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Firewall in Fedora


    I'm trying to set up a server and I want to block all traffic except SSH and ICMP. How will my iptable-file look like in my case. I also want to shutdown all ports except SSH. I'm a real beginner in Linux so keep it simple please. Thanks.

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    4,087
    Use the firewall tool that comes with the system, it'll let you turn off all access and enable only the ports you specify. SSH is definitely in the list, I believe ICMP is there too - if not, you can add the port manually.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Quote Originally Posted by Roxoff
    Use the firewall tool that comes with the system, it'll let you turn off all access and enable only the ports you specify. SSH is definitely in the list, I believe ICMP is there too - if not, you can add the port manually.
    yeah but witch port does icmp run over? it's in the ip-packet so it doesent run over a specifiec port. and i have tried to do it with the firewall tool but it still lets surten tcp-traffic trough.

  4. $spacer_open
    $spacer_close

Posting Permissions

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