Firewalling in Linux using IPtables Sp8scorp

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,115
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 26, 2008

Intro to using Linux Iptables Firewall sp8scorp

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (JJRocco)

  • Wow - an EXCELLENT video.. I have worked with IPTables over the years but had to cobble together what knowledge I have from tidbits here and there around the internet and what little bit was covered in books I bought. Your video is specific and to the point, and does an excellent job covering each aspect from what the command is for, how to invoke it, explaining each part of the commands, verifying the commands worked, etc.. Thank you and keep up the great work!

  • how would you drop all traffic and only allowing port 80 ?

  • It would be something like this.

    First you accept all traffic to port 80

    iptables -A INPUT -p tcp -s 0/0--dports 80 -j ACCEPT

    Then you drop all traffic to any other port

    iptables -A INPUT -p tcp -s 0/0 -j drop

    iptables -A INPUT -p udp -s 0/0 -j drop

    The order matters. Dont do this remotely. If you do, make sure you write some type of command to flush your rules after 30 seconds to test to make sure you just didn't lock yourself out your own box. Good luck.

  • Thanks :) Have a nice live :)

  • You are welcome!

see all

All Comments (10)

Sign In or Sign Up now to post a comment!
  • I'll be adding some more stuff later this year. Nice collection of music on your page btw.

  • Thank you JJ it helps for my exam

  • Thanks man! Thats Delerium - Innocente (Tiesto mix). If you search for that name on youtube you'll see the video. Enjoy

  • Thank you!

    Btw, what music on the background ?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more