Personal tools

Firewall FAQs

From UntangleWiki

Jump to: navigation, search

Contents

Why doesn't the Untangle Server's Firewall have any rules enabled by default?

When Untangle is in router mode, it is performing NAT, which protects you from most threats. When Untangle is in bridge mode, the Untangle Server is already behind a firewall, which is already protecting you with NAT.


The default is pass all?! Why? Thats so insecure!

As explained above, most Untangle boxes are install in router mode meaning that NAT is being performed on traffic. This means all inbound traffic is blocked regardless of the settings in the Firewall, only explicitly port forwarded traffic goes inside your network. Alternatively, most bridge mode deployments are installed behind a NAT device so the Firewall app (and Untangle) will only see traffic that has already explicitly been passed with a port forward on the NAT device. What this means is that the "pass all" default in most scenarios means "block everything inbound but nothing outbound", which is common policy for a lot of organizations. In our opinion most of the Firewall's utility is for controlling outbound traffic, however you are free to add rules controlling inbound, outbound or any other type of traffic you wish.


Where do I add Port Forwards?

Port forwarding is a feature available at Config > Networking > Port Forwards. Read more about port forwarding here.


I want to lock-down my network but for a few exceptions. What is the best way to do this?

Simply add a rule with no qualifiers, set it to Block, and put it at the bottom of the list. This will match all traffic, so anything not explicitly passed in a rule above it will be blocked.


Why are my Firewall rules not being triggered?

Firewall rules work from top to bottom; the first rule that the traffic matches will fire. If you have a broad rule near the top of your list that is matching, no other rules will be evaluated.


Should I use pre-NAT or post-NAT addresses/ports in firewall rules?

Firewall rules always match on the address which has more information. In other words if the entire internal network is being NATd from 192.168.*.* to 1.2.3.4, Firewall will match on the 192.168.*.* for traffic to and from this network. At the session layer this works out to be pre-NAT on source address, post-NAT on destination address, pre-NAT on source port, and post-NAT on destination port. An easy way to remember this is that it always matches where it gets the most information.


Does Firewall use iptables?

No. Firewall has nothing to do with iptables. Firewall rules are not iptables rules.