You are not logged in.

#1 2010-02-16 03:23:40

nsa141901
Member
Registered: 2006-06-26
Posts: 21

[SOLVED] iptables and avahi on laptop

I'm trying to open the udp port 5353 for avahi only to users of my home network. I don't know if I've deciphered the iptables man page correctly or not. Any help would be appreciated because I don't want to open the port to the world. Does this look correct?

iptables -A open -p udp -s 192.168.10.0/24 --dport 5353 -j ACCEPT

thanks

Last edited by nsa141901 (2010-02-17 02:00:23)

Offline

#2 2010-02-16 12:51:43

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: [SOLVED] iptables and avahi on laptop

have you created a new iptables chain names open, if so, then yes, it is.

otherwise,

change open to INPUT

Last edited by Sin.citadel (2010-02-16 12:52:48)

Offline

#3 2010-02-16 18:57:27

nsa141901
Member
Registered: 2006-06-26
Posts: 21

Re: [SOLVED] iptables and avahi on laptop

yes, there is an open chain. thanks for your help

Offline

Board footer

Powered by FluxBB