Language Selection

English French German Italian Portuguese Spanish

Streamlining Iptables for FTP and SMB/CIFS Traffic

Filed under
HowTos

There is an article at nixCraft on Connecting a Linux or UNIX system to Network attached storage device. The article itself is a good one, except for the part about iptables firewall rules to permit FTP and SMB/CIFS traffic between the Linux client and NAS. The errors are common misconceptions, so I thought I'd mention them, and show the standard iptables usage.

First, iptables, along with all modern firewalling systems, is a stateful firewall. That means it will record the "state" of new network onnections, and allow future packets that are related to or part of an established connection to traverse the firewall rules. While iptables can be used as a simple packet filter, it is usually not, since using it in this way results in more complex, less secure firewall rulesets.

Full Story.

More in Tux Machines

Today in Techrights

today's leftovers

Kernel Space: Linux, Graphics

Leftovers: Software

  • Introducing Stremio, a More Complete and Powerful Popcorn Time Alternative
    Stremio is an application built with Electron that streams and plays movies, TV shows, Youtube channels, and TV channels, from torrents. Sounds familiar?
  • mt-st project new homepage
    A short public notice: mt-st project new homepage at https://github.com/iustin/mt-st. Feel free to forward your distribution-specific patches for upstream integration!
  • letsencrypt support in propellor
    I'm using the reference letsencrypt client. While I've seen complaints that it has a lot of dependencies and is too complicated, it seemed to only need to pull in a few packages, and use only a few megabytes of disk space, and it has fewer options than ls does. So seems fine. (Although it would be nice to have some alternatives packaged in Debian.)
  • New release: usbguard-0.4
    I’m not dead yet. And the project is still alive too. It’s been a while since the last release, so it’s time to do another. The biggest improvements were made to the rule language by introducing the rule conditions and to the CLI by introducing a new command, usbguard, for interacting with a running USBGuard daemon instance and for generating initial policies.
  • The Improvements To GNOME's Nautilus 3.20 FIle Manager
  • Nautilus 3.20 Will Be a Major Upgrade, Here's What's New
    A new GNOME major upgrade is on its way, and it will ship with Nautilus 3.20. One of the developers working on it has presented some of the major features that will land.