Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.


  2. #2
    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.

  3. #3

    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


  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts