Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'd like to know if I can use Samba 2.0.7-36 to connect my Win2K PC to my Linux server?
I can ping both of them, but my Win2K PC can't find my smb share or tells me that my domain does not exist... Is it due to Ipchains or Iptables?? (when I installed my RH7.1, I set the level of the firewall to "medium"...).
THX for help!
I ran into the same problem. Find a portscanner on Tucows or something and find out what ports on your linux box are open. Should have the following open:
137/tcp
137/udp
138/tcp
138/udp
139/tcp
These are netbios ports and they are essential for Samba to work. I just killed my firewall because i don't know how to open up ports. That is my next project and would appreciate any help that I can get to start going in the right direction.
Does someone know how to disable the firewall or open the Netbios 139-137 ports for connecting to the smb server from Win2K?
I have an another trouble with Samba: once started with the "/etc/rc.d/init.d/smb start" command (or started as daemons), smbd and nmbd stop after a few seconds... What's that trick???
Dont know how to open ports (would like to know though), but to disable you firewall just use setup. In rh it is /usr/sbin/setup. Just select firewall and turn it off.
Also You are using ipchains or tables ? so open the ports ( for netbios blah) in the proper rc.d like(rc5.d). by changing K's to S's. Then in your rules deny the access to those ports coming form the outside world.
or something like this:
Utiliser 'ipchains', add these lines to /etc/rc.d/rc.local or your 'masq' script:
ipchains -A input -p tcp -j DENY --destination-port 137:139 -i eth0
ipchains -A input -p udp -j DENY --destination-port 137:139 -i eth0
ipchains -A output -p tcp -j DENY --destination-port 137:139 -i eth0
ipchains -A output -p udp -j DENY --destination-port 137:139 -i eth0
Last edited by Michele Shell; 11-12-2001 at 06:51 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.