16 Jul
2011
16 Jul
'11
6:31 p.m.
On Sat, Jul 16, 2011 at 7:32 PM, Vic Demuzere <vic@demuzere.be> wrote:
On 16 July 2011 19:22, Andrea Scarpino <andrea@archlinux.org> wrote:
old hosts.allow: sshd: 192. ntfs: 192.
iptables: -A INPUT -j REJECT -A INPUT -p tcp -s 192.168.0.0/24 --dport ssh -j ACCEPT -A INPUT -p tcp -s 192.168.0.0/24 --dport nfs -j ACCEPT -A INPUT -p udp -s 192.168.0.0/24 --dport nfs -j ACCEPT
So, you're saying that those 4 lines are easier than the 2 short ones in hosts.allow? Ah well, I'll have to learn to write iptables scripts then, I suppose.
It's a shame that you doesn't know how to write iptables scripts. (joke) tcp_wrappers are so old and so limited. I'm proud that archlinux drop this. Regards, -- Sébastien Luttringer www.seblu.net