iptables rules to allow nautilus samba access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to get access to the windows network neighborhood via smb:/// in nautilus. If I turn off iptables, it works just fine. If I turn it back on, it doesn't. Ethereal indicates that the traffic (with iptables turned off) looks like:

protocol: NBSS
Source Port (my box): 33406
Destination Port (another box on the LAN): netbios

The protocol is sometimes TCP, and sometimes LANMAN.

These high ports change when I open a new nautilus process.

These are the rules I have in iptables for samba (output from service iptables status):

Chain udp_inbound (1 references)
target     prot opt source               destination
ACCEPT udp -- 10.1.5.0/24 0.0.0.0/0 udp dpts:137:139
ACCEPT     udp  --  10.1.5.0/24          0.0.0.0/0           udp dpt:445
RETURN     udp  --  0.0.0.0/0            0.0.0.0/0

Chain tcp_inbound (1 references)
target     prot opt source               destination
ACCEPT tcp -- 10.1.5.0/24 0.0.0.0/0 tcp dpts:137:139
ACCEPT     tcp  --  10.1.5.0/24          0.0.0.0/0           tcp dpt:445
ACCEPT     tcp  --  10.1.5.0/24          0.0.0.0/0           tcp dpt:32890
ACCEPT     tcp  --  10.1.5.0/24          0.0.0.0/0           tcp dpt:32911
RETURN     tcp  --  0.0.0.0/0            0.0.0.0/0

My LAN is obviously 10.1.5.*

Does anyone know what ports I need to open to allow nautilus to access the network neighborhood?

TIA,
Bill Tangren

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux