Samba and Firewall

From: Shu Hung (Koala) (koala_at_dg21.com)
Date: 03/07/05

  • Next message: Mark Sargent: "K3b Error 254---x Cdrecord is not being run with root privileges."
    Date: Mon, 07 Mar 2005 12:52:22 +0800
    To: fedora-list@redhat.com
    
    

    Hello
    I've been working on a Samba machine for a while.
    Recently, I tried to turn on its firewall.
    But my configuration to iptables is flawed somehow -- it is half right
    and half wrong.

    Here is what I've done:
     - I used system-config-securitylevel to config new ports to open
     - I've opened ports 139:tcp, 445:tcp, 137:udp, 138:udp
     - I restart the iptables to load up the configs.

    Here is the consequence right now:
     - As I reboot my client PC, I cannot connect to samba shared folders --
    unless I stop iptables first
     - After I've connected to Samba once, I can connect to Samba as many
    time as I want to -- even if I start iptables again.

    I guest one more port or something is responsible for the first
    connection to the server.
    Does anybody have any idea?

    -- 
    Technical Support, DigitalOne Limited
    Tel: 8100-2616 / 2545-1383
    Fax: 2815-0593
    -- 
    No virus found in this outgoing message.
    Checked by AVG Anti-Virus.
    Version: 7.0.308 / Virus Database: 266.6.2 - Release Date: 4/3/2005
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Mark Sargent: "K3b Error 254---x Cdrecord is not being run with root privileges."

    Relevant Pages

    • Re: Samba and Firewall
      ... > I've been working on a Samba machine for a while. ... > - I restart the iptables to load up the configs. ... > unless I stop iptables first ... > connection to the server. ...
      (Fedora)
    • FC7 Samba
      ... I want to share a directory (see end of configuration file) called ... Samba has a huge number of configurable options (perhaps too ... server string = Samba Server Version %v ... # Log File let you specify where to put logs and how to split them up. ...
      (Fedora)
    • Re: SAMBA --- Win Xp cannot connect to server
      ... # Sample configuration file for the Samba suite for Debian GNU/Linux. ... comment = Printer Drivers ...
      (comp.protocols.smb)
    • IPtables logging failure (multiple NICs)
      ... (Monitor port on Cisco switch) ... Only eth0 is able to receive all traffic using IPtables and tcpdump. ... Here are more details on my configuration: ...
      (comp.os.linux.networking)
    • follow up: no smb network access
      ... After having now tried several hostnames and samba configurations, ... network still doesn't work. ... # This is the main Samba configuration file. ... # Browser Control Options: ...
      (Fedora)

    Loading