I don't know if this is a good config-file, but it works...I'll give you mine here..you have to change the <ISP-ip> with the ip your ISP gave you...(I've ADSL)...if you don't know it...start shorewall..look at the time...then start your internetconnection...look in /var/log/syslog for the time and you possibly (hopely ..with me anyway) see the IP, your ISP gave you...it's a UDP-connection with me...
It's a work in progress:).
/etc/shorewall/rules:
ACCEPT all net:ISP-ip udp
ACCEPT all net:ISP-ip udp
#web browsen
ACCEPT fw net tcp 80
#ftp
ACCEPT fw net tcp 20,21
#mail
ACCEPT fw net tcp smtp,pop3
#newsgroups
ACCEPT fw net tcp nntp
ACCEPT fw net tcp
#msn-protocol: voice not included, no filetransfer
ACCEPT fw net tcp 1863
#for bzflag-if you want to pay it...on ducati:) and some others
ACCEPT fw net udp 5155,5156
#connections that I certainly don't want - relate connection are always passed
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
#identification-port
DROP net fw tcp 113
DROP net fw udp 113
DROP net fw tcp 135
DROP net fw udp 135
#for my local computer....for any other udp
REJECT loc fw udp
--------------------------------------------
/etc/shorewall/policy:
loc fw ACCEPT
all all DROP info
-------------------------------------------
/etc/shorewall/interfaces(I'm using ppp0, if you've adsl I think this is good..., you can see this info by typing "ifconfig" as root ):
net ppp0 - dropunclean,tcpflags
loc localhost
----------------------------------------------
/etc/shorewall/shorewall.conf:
change some thinsg if you use ADSL, or other high-speed-connections(if they aren't like this):
look for "CLAMPMSS" and set it to Yes
look for "ROUTE_FILTER" and set it to Yes
look for ALLOWRELATED and set it to Yes
---------------------------------------------
Hopefully it works now....If there are any comments on this configuration, I'm always open to imrpovements...or a total change

.