Results 1 to 3 of 3
Hello Guys,
I'm fairly new to Linux so please excuse my ignorance. I successfully configured Samba to allow my Windows XP SP2 box to connect to my Linux Fedora Core ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-25-2007 #1Just Joined!
- Join Date
- Mar 2007
- Posts
- 4
IPTables, Windows connection.
Hello Guys,
I'm fairly new to Linux so please excuse my ignorance. I successfully configured Samba to allow my Windows XP SP2 box to connect to my Linux Fedora Core 4 box threw my local network. I however can only connect to my Windows box from by Linux box when I disable the firewall. Considering that I installed Linux in the first place to learn more about Web Server administration I do not want to turn off the Firewall.
So if someone could please explain to me how to complete the process you'll make me extremely happy.
I'll be looking forward to hearing from you soon.
Sylvain
- 03-25-2007 #2Just Joined!
- Join Date
- Jan 2007
- Posts
- 90
edit /etc/sysconfig/iptables and add this line somewhere in the
:RH-Firewall-1-INPUT chain
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 139 -j ACCEPT
now you can use smb from XP to linux with the firewall on.
- 03-25-2007 #3Just Joined!
- Join Date
- Mar 2007
- Posts
- 4
I can connect to my linux from my windows, just not the other way around
I have that line
and the other 3 lines to complete it. (137 udp, 138 udp and 445 tcp).
and I can access my share folders on the linux box from windows.
Its the other way around that I can't do
Thanks


Reply With Quote
