LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-07-2006, 09:46 AM   #1
geosko
LQ Newbie
 
Registered: Oct 2006
Posts: 27

Rep: Reputation: 15
firewall and samba


i am trying to make my old pc a server and iam using centos.
my server will connect directly to internet and through a hub will give connection to other pcs in a small home network. so i would like to ask some help how i can do that
also i want to share a folder in the network with samba the other pcs have windows but windows cannot acces the samba thanks
 
Old 10-07-2006, 05:03 PM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
I don't really understand what your question actually is...

You should be able to do all of this with linux centos. If I undertand right, you want one end to be connected to the internet and one end to your home network. Just configure the "internet end" as usual, but assign a static ip to you "home network end", so you will then be able to run a DHCP server on that side.
If you want your "clients" to connect to the internet trought this computer, you will also need to setup a small iptables script to perform NAT. Just search google about "iptables", "masquerading" and "natting", you should be able to find plenty of tutorials.

About your samba question... well, some details might help?
What have you tried so far? What are the symptoms?
Do you get any error messages? If so, what does it says? Do you "see" your linux computer from windows? If not, are you able to ping your linux computer? If so, are you able to access the share using the ip address instead of the name? Can you access a windows share from linux? Can you access your linux share from the linux computer (itself to itself)?
 
Old 10-10-2006, 10:33 AM   #3
geosko
LQ Newbie
 
Registered: Oct 2006
Posts: 27

Original Poster
Rep: Reputation: 15
finally i got the solution the samba didn't work because of the firewall and i used firestarter to do the nat
 
  


Reply



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
samba and firewall Tobitas SUSE / openSUSE 1 03-27-2006 09:32 AM
firewall with samba dipenchaudhary Linux - Networking 2 02-05-2006 07:34 AM
Samba Firewall Xaque208 Linux - Networking 2 12-29-2004 01:17 PM
Help with Samba firewall nutthick Linux - Security 15 11-15-2004 02:17 AM
samba + firewall palu Linux - Networking 2 06-13-2004 01:03 PM

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

All times are GMT -5. The time now is 11:51 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