Announcement

Collapse
No announcement yet.

iptables OUTPUT rules for Samba connections

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    iptables OUTPUT rules for Samba connections

    Could anybody help me with Samba rules for the iptables OUTPUT chain? I have a paranoia, so default policy for my OUTPUT chain is DROP. I want control everything is going on within inside my computer and of what's going outside. Unfortunately I couldn't figure out OUTPUT rules for Samba connections. The INPUT is below and it works fine, if my OUTPUT policy set to ACCEPT.

    -A INPUT -p tcp -m multiport --dports 137,138 -j ACCEPT
    -A INPUT -p udp -m multiport --dports 139,445 -j ACCEPT
    -A INPUT -p udp -m multiport --dports 137,138 -j ACCEPT
Working...
X