<br><br><div><span class="gmail_quote">On 12/4/06, <b class="gmail_sendername"><a href="mailto:yogesh@banasdairy.coop">yogesh@banasdairy.coop</a></b> <<a href="mailto:yogesh@banasdairy.coop">yogesh@banasdairy.coop</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi can any one help me how can i block the port 3127 on my mail server<br>i alreadly diabled firewall
<br>and i want to block the port no 3127<br>can guide me<br><br><br>what sentence i write in the iptables<br><br><br>thanks & with best regards<br>Yogesh M chaudhari</blockquote><div><br><br><br>Enable your firewall and pass the below entries
<br><br>First thing for which users you want to block this port means all users or users from Outside(LAN users are allowed) only<br><br><br>For first case<br>iptables -A  INPUT -p tcp  --dport 3127  -j REJECT<br><br><br>
For second case<br><br>iptables -A  INPUT -p tcp  -s ! LANRange--dport 3127  -j REJECT<br><br>iptables -A  INPUT -p tcp -s ! <a href="http://192.168.1.0/255.255.255.0">192.168.1.0/255.255.255.0</a> --dport 3127  -j REJECT
<br><br><br><br>Regards<br><br>Ankush Grover<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">--<br>This message has been scanned for viruses and
<br>dangerous content by BanasDairy Mailserver , and is<br>believed to be clean.For any query contact at<br><a href="mailto:system@banasdairy.coop">system@banasdairy.coop</a><br><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">
fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote></div><br>