There is a wide range of Linux firewalls available (as packages for standard distributions or special firewall distributions)
If you are new to Linux you better choose a firewall distribution like... ipcop, astaro secure linux, trustix, or - werewolf from the makers of coyote linux. Werewolf has stateful firewall, VPN capabilities (interoperates with Windows vpn, it is very small...)