mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 22:30:58 +01:00
93 lines
2.1 KiB
HTML
93 lines
2.1 KiB
HTML
|
<html>
|
|||
|
|
|||
|
<head>
|
|||
|
<meta http-equiv="Content-Language" content="en-us">
|
|||
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
|||
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
|||
|
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
|||
|
<title>Samba</title>
|
|||
|
<meta name="Microsoft Theme" content="boldstri 011, default">
|
|||
|
</head>
|
|||
|
|
|||
|
<body>
|
|||
|
|
|||
|
<h1 align="center">Samba</h1>
|
|||
|
<p>If you wish to run Samba on your firewall and access shares between the
|
|||
|
firewall and local hosts, you need the following rules:</p>
|
|||
|
<h4>/etc/shorewall/rules:</h4>
|
|||
|
<blockquote>
|
|||
|
<table border="2" cellpadding="2" style="border-collapse: collapse">
|
|||
|
<tr>
|
|||
|
<font face="Century Gothic, Arial, Helvetica">
|
|||
|
<td><b>ACTION</b></td>
|
|||
|
<td><b>SOURCE</b></td>
|
|||
|
<td><b>DEST</b></td>
|
|||
|
<td><b>
|
|||
|
PROTO</b></td>
|
|||
|
<td><b>DEST<br>
|
|||
|
PORT(S)</b></td>
|
|||
|
<td><b>SOURCE<br>
|
|||
|
PORT(S)</b></td>
|
|||
|
<td><b>ORIGINAL<br>
|
|||
|
DEST</b></td>
|
|||
|
</font>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>ACCEPT</td>
|
|||
|
<td>fw</td>
|
|||
|
<td>loc</td>
|
|||
|
<td>udp</td>
|
|||
|
<td>137:139</td>
|
|||
|
<td> </td>
|
|||
|
<td> </td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>ACCEPT</td>
|
|||
|
<td>fw</td>
|
|||
|
<td>loc</td>
|
|||
|
<td>tcp</td>
|
|||
|
<td>137,139</td>
|
|||
|
<td> </td>
|
|||
|
<td> </td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>ACCEPT</td>
|
|||
|
<td>fw</td>
|
|||
|
<td>loc</td>
|
|||
|
<td>udp</td>
|
|||
|
<td>1024:</td>
|
|||
|
<td>137</td>
|
|||
|
<td> </td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>ACCEPT</td>
|
|||
|
<td>loc</td>
|
|||
|
<td>fw</td>
|
|||
|
<td>udp</td>
|
|||
|
<td>137:139</td>
|
|||
|
<td> </td>
|
|||
|
<td> </td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>ACCEPT</td>
|
|||
|
<td>loc</td>
|
|||
|
<td>fw</td>
|
|||
|
<td>tcp</td>
|
|||
|
<td>137,139</td>
|
|||
|
<td> </td>
|
|||
|
<td> </td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>ACCEPT</td>
|
|||
|
<td>loc</td>
|
|||
|
<td>fw</td>
|
|||
|
<td>udp</td>
|
|||
|
<td>1024:</td>
|
|||
|
<td>137</td>
|
|||
|
<td> </td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</blockquote>
|
|||
|
<p><font size="2">Last modified 5/29/2002 - <a href="support.htm">Tom
|
|||
|
Eastep</a></font><p><font face="Trebuchet MS"><a href="copyright.htm">
|
|||
|
<font size="2">Copyright</font> <20> <font size="2">2002 Thomas M. Eastep.</font></a></font></body></html>
|