Difference between revisions of "Firewall"

From Blue-IT.org Wiki

(Created page with "== Ubuntu ufw == === Ggufw === File:Regel_hinzufügen_001.png‎ === Qsynergy === sudo ufw allow proto tcp to any port 24800 from 192.168.0.0/16 === Samba === Alter the uf...")
 
(Ggufw)
Line 1: Line 1:
 
== Ubuntu ufw ==
 
== Ubuntu ufw ==
 
=== Ggufw ===
 
=== Ggufw ===
[[File:Regel_hinzufügen_001.png‎]]
+
With IP range
 +
[[File:Regel_hinzufügen_002.png‎]]
 +
 
 +
With single IP
 +
[[File:Regel_hinzufügen_003.png‎]]
  
 
=== Qsynergy ===
 
=== Qsynergy ===

Revision as of 12:56, 27 February 2011

Ubuntu ufw

Ggufw

With IP range Regel hinzufügen 002.png

With single IP Regel hinzufügen 003.png

Qsynergy

sudo ufw allow proto tcp to any port 24800 from 192.168.0.0/16

Samba

Alter the ufw configuration file

gedit /etc/default/ufw
# The nf_contrack_netbios_ns has been added
IPT_MODULES="nf_conntrack_ftp nf_nat_ftp nf_conntrack_irc nf_nat_irc nf_conntrack_netbios_ns"

Samba

sudo ufw allow proto tcp to any port 135 from 192.168.0.0/16
sudo ufw allow proto udp to any port 137 from 192.168.0.0/16
sudo ufw allow proto udp to any port 138 from 192.168.0.0/16
sudo ufw allow proto tcp to any port 139 from 192.168.0.0/16
sudo ufw allow proto tcp to any port 445 from 192.168.0.0/16

Avahi / bonjour /zeroconf

sudo ufw allow proto udp to any port 5353 from 192.168.0.0/16