LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 02-06-2014, 06:01 AM   #1
RamTeja
LQ Newbie
 
Registered: Feb 2014
Posts: 10

Rep: Reputation: Disabled
Smile Here goes by first Qsn Samba / IPtables


Hi All,

I'm trying to configure Samba services on two of my VMs. Can i know how to add iptables rules that allow only one particular IP and block smb services to all other hosts. I know that ports to allow are 137 138 139 445. But i need the commands on iptables. Please someone help me with this !!!
Thanks In Advance
Expecting quick help

Last edited by RamTeja; 02-06-2014 at 06:27 AM. Reason: Adding few more details
 
Old 02-06-2014, 02:02 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread should be closed because it is a duplicate of https://www.linuxquestions.org/quest...7/#post5112664.
Please read the LQ Rules (https://www.linuxquestions.org/linux/rules.html) before posting.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables and Samba MrBiggZ Linux - Security 1 10-08-2005 02:20 PM
iptables and samba GiX Linux - Newbie 2 05-07-2005 06:19 PM
Samba and iptables TheRealDeal Linux - Networking 3 09-22-2003 10:13 AM
samba and iptables p1az Linux - Networking 1 08-04-2003 08:51 PM
Samba and iptables kevin Linux - Security 1 01-29-2002 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration