[nmglug] samba,
Andres Paglayan
andres at paglayan.com
Mon Mar 15 09:37:07 PST 2004
thanks so much,
the machine is not yet accesible from Internet,
I had to turn the service down to access a w server.
I will try these directives, and turn it on!
Ed Brown wrote:
>There are a lot of considerations in writing iptables rules. This is
>barebones, and will probably do what you ask, but if your machine is
>accessible from the internet, you should definitely read up on iptables
>and take a good look at your current configuration before making any
>changes.
>
>iptables -I INPUT --dport 137:139 -j ACCEPT
>
>more specific:
>iptables -I INPUT -p udp --dport 137:138 -j ACCEPT
>iptables -I INPUT -p tcp --dport 139 -j ACCEPT
>
>You could also restrict who can connect:
>iptables -I INPUT --dport 137:139 -s trusted.host.ip.address [or,
>subnet/mask] -j ACCEPT
>
>-Ed
>
>
>
>On Mon, 2004-03-15 at 09:37, Andres Paglayan wrote:
>
>
>>Hi,
>>Does somebody knows how should I tell iptables to accept samba connections?
>>It seems I have to open 139/tcp and udp/137/138.
>>hehe, but how...?
>>Thx,
>>
>>
>>
>>_______________________________________________
>>nmglug mailing list
>>nmglug at nmglug.org
>>http://www.nmglug.org/mailman/listinfo/nmglug
>>
>>
>
>
>_______________________________________________
>nmglug mailing list
>nmglug at nmglug.org
>http://www.nmglug.org/mailman/listinfo/nmglug
>
>
>
>
>
More information about the nmglug
mailing list