This lets the Wii get to the media library, which is nice.
defport finger 79
defport http 80
defport ident 113
defport finger 79
defport http 80
defport ident 113
+defport netbios_ns 137
+defport netbios_dgm 138
+defport netbios_ssn 139
+defport microsoft_ds 445
defport syslog 514 # UDP only!
defport rsync 873
defport squid 3128
defport syslog 514 # UDP only!
defport rsync 873
defport squid 3128
-p $p --destination-port $port_dns
done
-p $p --destination-port $port_dns
done
+## Allow smb and nmb to untrusted hosts. This is a bit experimental.
+run iptables -A inbound -j ACCEPT \
+ -s 172.29.198.0/24 \
+ -p udp -m multiport --destination-ports \
+ $port_netbios_ns,$port_netbios_dgm
+run iptables -A inbound -j ACCEPT \
+ -s 172.29.198.0/24 \
+ -p tcp -m multiport --destination-ports \
+ $port_netbios_ssn,$port_microsoft_ds
+
## Provide syslog for evolution.
run iptables -A inbound -j ACCEPT \
-s 172.29.198.2 \
## Provide syslog for evolution.
run iptables -A inbound -j ACCEPT \
-s 172.29.198.2 \