WWW
rule create chain=forward index=X srcintfgrp=lan prot=tcp dstport=www-http action=accept
rule create chain=forward index=X srcintfgrp=wan prot=tcp srcport=www-http action=accept
Secure Web
rule create chain=forward index=X srcintfgrp=lan prot=tcp dstport=443 action=accept
rule create chain=forward index=X srcintfgrp=wan prot=tcp srcport=443 action=accept
Pop3 Email
rule create chain=forward index=X srcintfgrp=lan prot=tcp dstport=pop3 action=accept
rule create chain=forward index=X srcintfgrp=wan prot=tcp ack=yes srcport=pop3 action=accept
SMTP Email
rule create chain=forward index=X srcintfgrp=lan prot=tcp dstport=25 action=accept
rule create chain=forward index=X srcintfgrp=wan prot=tcp srcport=25 action=accept
rule create chain=forward index=X srcintfgrp=wan dstintfgrp=lan dstport=25 action=accept
IMAP Email
rule create chain=forward index=X srcintfgrp=lan prot=tcp dstport=143 action=accept
rule create chain=forward index=X srcintfgrp=wan prot=tcp srcport=143 ack=yes action=accept
ICQ
rule create chain=forward index=X srcintfgrp=wan prot=tcp srcport=5190 action=accept
rule create chain=forward index=X srcintfgrp=lan prot=tcp dstport=5190 action=accept
Yahoo Messenger
rule create chain=forward index=X srcintfgrp=wan prot=tcp srcport=5050 action=accept
rule create chain=forward index=X srcintfgrp=lan prot=tcp dstport=5050 action=accept
Newsgroups
rule create chain=forward index=X dstintfgrp=lan prot=tcp srcport=nntp action=accept
rule create chain=forward index=X dstintfgrp=wan prot=tcp dstport=nntp action=accept
AIM
rule create chain=forward index=X srcintfgrp=wan prot=tcp srcport=9898 action=accept
rule create chain=forward index=X srcintfgrp=lan prot=tcp dstport=9898 action=accept
MSN Messenger
rule create chain=forward index=X srcintfgrp=lan prot=tcp dstport=1863 action=accept
rule create chain=forward index=X srcintfgrp=wan prot=tcp srcport=1863 action=accept
rule create chain=forward index=X srcintfgrp=lan prot=tcp dstport=6891 dstportend=6901 action=accept
rule create chain=forward index=X srcintfgrp=wan prot=tcp srcport=6891 srcportend=6901 action=accept
IRC IDENT**
rule create chain=forward index=X srcintfgrp=lan prot=tcp dstport=113 action=accept
rule create chain=forward index=X srcintfgrp=wan prot=tcp srcport=113 action=accept
NAT
create protocol=tcp inside_addr=10.0.0.1:113 outside_addr=0.0.0.0:113 foreign_addr=0.0.0.0:0
IRC Chat**
rule create chain=forward index=X srcintfgrp=lan prot=tcp dstport=6660 dstportend=6669 action=accept
rule create chain=forward index=X srcintfgrp=wan prot=tcp srcport=6660 srcportend=6669 action=accept
eMule**
rule create chain=forward index=X srcintfgrp=lan prot=tcp srcport=1200 srcportend=4672 dstport=4661 dstportend=9090 action=accept
rule create chain=forward index=X srcintfgrp=wan prot=tcp srcport=4662 dstport=30000 dstportend=50000 action=accept
NAT
create protocol=tcp inside_addr=10.0.0.1:4661 outside_addr=0.0.0.0:4661 foreign_addr=0.0.0.0:0
create protocol=tcp inside_addr=10.0.0.1:4662 outside_addr=0.0.0.0:4662 foreign_addr=0.0.0.0:0
create protocol=udp inside_addr=10.0.0.1:4665 outside_addr=0.0.0.0:4665 foreign_addr=0.0.0.0:0
create protocol=udp inside_addr=10.0.0.1:4672 outside_addr=0.0.0.0:4672 foreign_addr=0.0.0.0:0
***Please note that you can change the ports that emule is set on, this can be useful if your ISP blocks ports 4661/2 etc. More Info Here***
DC++**
rule create chain=forward index=X dstintfgrp=lan prot=tcp srcport=1412 action=accept
rule create chain=forward index=X dstintfgrp=wan prot=tcp dstport=1412 action=accept
rule create chain=forward index=X dstintfgrp=lan prot=udp srcport=1412 action=accept
rule create chain=forward index=X dstintfgrp=wan prot=udp dstport=1412 action=accept
NAT
create protocol=tcp inside_addr=10.0.0.1:1412 outside_addr=0.0.0.0:1412 foreign_addr=0.0.0.0:0
create protocol=udp inside_addr=10.0.0.1:1412 outside_addr=0.0.0.0:1412 foreign_addr=0.0.0.0:0