Skip to contentSkip to conversation

nmblookup

DISCUSSION azeem ahmad 2 participants 2 messages May 31, 2004 – Jun 1, 2004

lore
Share & tools
lore
#0 lore raw

hi all
when i start my firewall script it stops doing nmblookup. when this script isnt running and i do #nmblookup host
it resolves the name but whenever i start the script it doesnt. what the problem can be i m using the script below
-------------------------------------------------------------------------------------------------------------------------------------
iptables -F
iptables -t nat -F
iptables -P INPUT DROP
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 8080 -j ACCEPT

iptables -A INPUT -i eth0 -p tcp --dport 22   -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 53   -j ACCEPT
iptables -A INPUT -i eth0 -p udp --dport 53   -j ACCEPT
iptables -A INPUT -i eth0 -p udp --dport 137  -j ACCEPT
iptables -A INPUT -i eth0 -p udp --dport 138  -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 139  -j ACCEPT

-------------------------------------------------------------------------------------------------------------------------------------

Regards
Azeem

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

Signature · 2 lines
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
#1 lore raw

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of azeem ahmad
Sent: Monday, May 31, 2004 12:27 PM
To: [email protected]; [email protected]
Subject: nmblookup

hi all
when i start my firewall script it stops doing nmblookup. when this script isnt running and i do #nmblookup host it resolves the name but whenever i start the script it doesnt. what the problem can be i m using the script below
----------------------------------------------------------------------------
---------------------------------------------------------
iptables -F
iptables -t nat -F
iptables -P INPUT DROP
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 8080 -j ACCEPT

iptables -A INPUT -i eth0 -p tcp --dport 22   -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --dport 53   -j ACCEPT
iptables -A INPUT -i eth0 -p udp --dport 53   -j ACCEPT
iptables -A INPUT -i eth0 -p udp --dport 137  -j ACCEPT iptables -A INPUT -i

eth0 -p udp --dport 138 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 139 -j ACCEPT

----------------------------------------------------------------------------
---------------------------------------------------------

Regards
Azeem

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

Take a look at this document. It should help you solve your problem:
http://www.linuxhomenetworking.com/linux-hn/samba-trouble.htm

########################################################
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

[email protected]
MailScanner at bandwidthco.com is for your absolute protection.
########################################################

Signature · 2 lines
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba