Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-31-2004, 03:30 AM   #1
LQ Newbie
Registered: May 2004
Posts: 3

Rep: Reputation: 0
samba + firewall


I've just upgraded my system from RH9 to FC2 and now I have problems accessing my shares on a Windows machine.

First, this is a firewall issue. When i make eth0 a trusted device there is no problem.

However, in RH9 I just added "-A INPUT -s IP -j ACCEPT" in iptables (IP is the IP of the Windows machine) and it worked fine. Unfortunately, this is not the case in FC2.

Any suggestions?
Old 06-05-2004, 10:40 AM   #2
LQ Newbie
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0

I have solved the problem.

Edit the /etc/sysconfig/iptables file and insert the line:
-A RH-Firewall-1-INPUT -s IP -j ACCEPT (where IP is the address of the other computer)

The line should be inserted just after:
-A FORWARD -j RH-Firewall-1-INPUT
Old 06-13-2004, 01:03 PM   #3
Registered: Jul 2003
Location: dfw
Distribution: Latest Fedora Release
Posts: 195

Rep: Reputation: 31
thank you for posting the solution


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
Using firewall with samba Imanerd Linux - Networking 6 03-16-2005 04:25 PM
Samba Firewall Xaque208 Linux - Networking 2 12-29-2004 01:17 PM
Help with Samba firewall nutthick Linux - Security 15 11-15-2004 02:17 AM
RH9 SAMBA and Firewall jwspring Linux - Networking 17 12-10-2003 07:54 PM
How do I configure firewall for SAMBA? drwolfson Linux - Networking 4 11-05-2003 06:05 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration