Weirdness going on with Shorewall????

Discuss Networking
Post Reply
Copperhead
scripter
scripter
Posts: 83
Joined: Wed May 14, 2003 1:12 am
Location: Los Angeles, CA, USA

Weirdness going on with Shorewall????

Post by Copperhead » Sat Sep 13, 2008 5:42 pm

I've set up a router/firewall system with Shorewall on Debian, and it has been working fine until about five minutes ago. It seems that I can no longer access the internet from the Shorewall machine. I tried running apt-get update, and traceroute, ping, etc. and they all have failed. The weird thing is, is that I am able to use all of my client machines that are running on the local network (I am on a Mac right now at 192.168.0.55)

Here are the relevant configs:

Shorewall rules:

ACCEPT $FW net tcp 53
ACCEPT $FW net udp 53
REJECT net $FW tcp 22
ACCEPT loc $FW tcp 22
ACCEPT net $FW tcp 80
ACCEPT loc $FW tcp 80
ACCEPT net $FW tcp 143
ACCEPT loc $FW tcp 143
ACCEPT net $FW tcp 25
ACCEPT loc $FW tcp 25
ACCEPT net $FW tcp 21
ACCEPT net $FW tcp 443
ACCEPT net $FW tcp 443
ACCEPT net loc tcp 6881
ACCEPT net loc udp 6881
ACCEPT loc net tcp 6881
ACCEPT loc net udp 6881

Shorewall policy:

#SOURCE DEST POLICY LOG LIMIT:BURST
# LEVEL
loc net ACCEPT
net all DROP info
all all REJECT info
$FW net ACCEPT info

Everything works going in from the net. I am able to access SSH the webserver, FTP, etc. I am baffled as to what is going on.

Any ideas?

Post Reply