LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-15-2003, 01:23 PM   #1
will824
Member
 
Registered: Jun 2003
Location: Medellin Colombia
Distribution: Gentoo
Posts: 35

Rep: Reputation: 15
Internet Connection Sharing and Samba


I have the following problem: Iam using Mandrake Linux 9.1

When I configure the ICS it starts the shorewall Firewall automatically, as long as Linux s inside a FW the connection in the other computer works fine.

Samba will not work for me using a FW, so I have ro choose in the control panel to allow every connection. Then Samba starts to work wonderfully.
But ICS from the other PC does not work anymore.

So i have to reconfigure ICS and then Samba stops working.

And so on.

Is there a fix for this? thanx to the community in advance!
 
Old 06-15-2003, 02:19 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Try adding these 3 iptables rules:
iptables -A INPUT -p tcp --dport 137 -j ACCEPT
iptables -A INPUT -p tcp --dport 138 -j ACCEPT
iptables -A INPUT -p tcp --dport 139 -j ACCEPT
 
Old 06-17-2003, 06:36 PM   #3
will824
Member
 
Registered: Jun 2003
Location: Medellin Colombia
Distribution: Gentoo
Posts: 35

Original Poster
Rep: Reputation: 15
Hey there... sorry for the ignorance...
But how would I do that?
Iam a newbie!
 
Old 06-17-2003, 06:38 PM   #4
will824
Member
 
Registered: Jun 2003
Location: Medellin Colombia
Distribution: Gentoo
Posts: 35

Original Poster
Rep: Reputation: 15
Got it

Got it... from the command line, right?
 
Old 06-18-2003, 12:36 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
yes
 
Old 06-18-2003, 05:04 PM   #6
will824
Member
 
Registered: Jun 2003
Location: Medellin Colombia
Distribution: Gentoo
Posts: 35

Original Poster
Rep: Reputation: 15
Hey ive got anorther problem...my ICS works only for some time and normally when I switch of the otehr computer the internet connection sharing would not work.. I dont know what to do.. ivetought about reinstalling Linux.. but I believe something could be done instead of reinstalling, after all Linux is very maleable... Thanx
 
  


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
internet connection sharing ekdya Debian 18 11-07-2005 03:42 PM
Configuring Samba and sharing an internet connection krock923 Linux - Networking 8 07-13-2004 06:31 AM
Samba and Windows Internet Connection Sharing (ICS) hise Linux - Networking 4 03-16-2004 03:42 PM
Internet connection sharing mark_booze Linux - Newbie 22 01-02-2004 12:37 AM
Internet Connection Sharing bravo Linux - Networking 3 02-25-2003 04:51 AM

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

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