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

Wine 2.7 Has Been Released

Canonical Releases Snapd 2.25 Snappy Daemon for Ubuntu Linux, Here Is What's New

Canonical's Snappy team, through Michael Vogt, announced today, April 28, 2017, the release and immediate availability of the Snapd 2.25 Snappy daemon for all supported Ubuntu Linux OSes, as well as other GNU/Linux distributions. Read more

Ubuntu Devs Work on Rebasing Ubuntu 17.10 (Artful Aardvark) to Linux Kernel 4.11

It looks like the Ubuntu Kernel team is back at work after taking a short break, and they recently published another installation of their bi-weekly newsletter to inform the Ubuntu Linux community about what to expect in the coming weeks. Read more

Linux Mint-using terror nerd awaits sentence for training Islamic State

A paranoid Welsh Muslim who wore gloves while typing on his laptop, admitted being part of Islamic State, and, gasp, harbored a copy of Linux Mint, has been described as a “new and dangerous breed of terrorist.” Samata Ullah, 34, who also used voice modulation software to disguise his thick Welsh accent while making instructional videos about encryption, pleaded guilty to five terrorism charges at Cardiff Crown Court. He was due to be sentenced Friday afternoon. Read more