LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-20-2001, 06:20 PM   #1
smurf
Member
 
Registered: Apr 2001
Posts: 113

Rep: Reputation: 15
Deny access to samba on eth1


I was wondering if there was a way to stop users on eth1 from using samba. The reason being is eth1 is connected to a cable modem and a few people have tried gaining access to my file server. I was thinking of maybe a command in the smb.conf that would do it or maybe a rule in my rc.firewall file. It ould be most useful.

Cheers

____________________
Have Fun
 
Old 06-20-2001, 06:28 PM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
The hosts allow line in smb.conf will allow you to specify what IP addresses can mae connections to you samba server, setting this to just your internal LAN will effecting stort this one out.

What are you using for your firewall? IPChains/IPTables? Have a serch for posts on the forum by Razbot - Raz is pretty hot on the ole network security front - his posts make better reading than my efforts security efforts would. I'd seriously think about reviewing your firewall though as you can have lots of things open that you may not even realise!

cheers

Jamie...

Last edited by jharris; 06-22-2001 at 02:04 PM.
 
Old 06-20-2001, 09:12 PM   #3
smurf
Member
 
Registered: Apr 2001
Posts: 113

Original Poster
Rep: Reputation: 15
Yeah ive got that in my smb.conf already.
the only thing wrong is that the hacker still has a chance of getting in using some sort of ip spoofing tool. which wiil allow him to pretend to have a internal network ip.

I use Ipchains with 2.2.18 redhat 7


cheers

_____________________________
Have Fun
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Squid Deny Access but... Roach Linux - Software 4 11-23-2004 01:18 PM
access and deny mchitrakar Linux - Security 8 04-24-2004 04:53 AM
Deny Webpage Access thebrave65 Linux - Security 5 05-20-2003 01:51 PM
deny this fruitcake access hux Linux - Networking 3 02-11-2002 04:08 PM
Deny access by IP address plisken Linux - Security 1 12-29-2001 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:38 AM.

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