Re: E-Mail only

Will LaSala ( will@greennet.net )
Mon, 7 Apr 1997 11:11:49 -0400

I have it running here.
heres what it looks like
filter: mailonly.in
rule [ actions | matching criteria ]
1. [ allow | in dst 208.192.4.16/32 tcp port 110 ]
2. [ allow | in dst 208.192.4.16/32 tcp port 25 (smtp) ]
3. [ allow | in dst 208.192.4.16/32 tcp port 80 (www) ]
4. [ allow | in dst 208.192.4.16/32 icmp ]
5. [ allow | in dst 208.192.4.2/32 udp port 53 (domain) ]
6. [ allow | in dst 208.192.4.3/32 udp port 53 (domain) ]
7. [ allow | in dst 208.192.4.2/32 icmp ]
8. [ allow | in dst 208.192.4.3/32 icmp ]
9. [ deny | in tcp port 80 (www) ]
10. [ deny | in tcp port 21 (ftp) ]
11. [ deny | in tcp port 25 (smtp) ]
12. [ deny | in tcp port 110 ]

This should work fine for you
208.192.4.16 = mail server
208.192.4.2 = primary dns
208.192.4.3 = backup dns

Will ,,,=^. .^=,,,
Webmaster
* GreenNet========================================*
* "Link Locally ~ Surf Globally" http://www.greennet.net *
* Come Play On Our Game Server *
* Serving northeastern Massachusetts, southern New Hampshire *
* TEL: 508-363-8898 FAX: 508-363-1225 email:will@greennet.net*
*===============================================*