LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Internet Connection Sharing and Samba (https://www.linuxquestions.org/questions/linux-networking-3/internet-connection-sharing-and-samba-65758/)

will824 06-15-2003 01:23 PM

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!
:p ;)

david_ross 06-15-2003 02:19 PM

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

will824 06-17-2003 06:36 PM

Hey there... sorry for the ignorance...
But how would I do that?
Iam a newbie! ;)

will824 06-17-2003 06:38 PM

Got it
 
Got it... from the command line, right?

david_ross 06-18-2003 12:36 PM

yes

will824 06-18-2003 05:04 PM

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 ;)


All times are GMT -5. The time now is 12:17 PM.