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 ;) |
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 |
Hey there... sorry for the ignorance...
But how would I do that? Iam a newbie! ;) |
Got it
Got it... from the command line, right?
|
yes
|
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. |