I'm configuring an Ubuntu Server for my home network to handle NAT and firewall. I've configured dnsmasq and verified that it's working correctly. I want all connections from my internal network to be allowed. However, once I enable ufw, the connections are blocked.
I have tried:
sudo ufw allow in on eth1
sudo ufw allow from 192.168.0.0/24
but any solution I try results in messages such as these in syslog:
[UFW BLOCK] IN=eth1 OUT=eth0 SRC=192.168.0.10 DST=188.8.131.52 LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=16240 DF PROTO=TCP SPT=37444 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0
Am I understanding the rules incorrectly, or is the problem elsewhere?