grabegrabe
08-28-2008, 06:01 AM
Three questions, related to port forwarding and firewall setup.
I am trying to get UT set up to replace an existing firewall. As I read the documentation (http://wiki.untangle.com/index.php/Firewall#Blocking_or_Passing_Network_Traffic_by_Pr otocol_and_Port), the firewall checks connections before NAT happens.
Question 1: Is this true?
If it is, then my configuration is incorrect.
NAT: external IP 64.186.55.194 (80) forwards to internal IP 10.10.10.10 (80).
Firewall: allows external traffic bound for 10.10.10.10 (80); defaults to block all.
When I replace our existing firewall with a UT box configured this way, traffic is able to come through the firewall to our web server, and the log indicates that the rule above is the one that matched.
Question 2: if, indeed, the firewall happens before the NAT, why does this rule work at all? Why would not traffic simply be stopped altogether immediately when I connect UT?
This works for about an hour. Then all inbound traffic, including web traffic is blocked.
Question 3: if the NAT happens before the firewall, that is, if the documentation first linked to above is misleading, why does this rule only work for about an hour? The UT box has 2GB RAM and a newer processor ... is it possible that it's just getting completely congested in that time?
I am trying to get UT set up to replace an existing firewall. As I read the documentation (http://wiki.untangle.com/index.php/Firewall#Blocking_or_Passing_Network_Traffic_by_Pr otocol_and_Port), the firewall checks connections before NAT happens.
Question 1: Is this true?
If it is, then my configuration is incorrect.
NAT: external IP 64.186.55.194 (80) forwards to internal IP 10.10.10.10 (80).
Firewall: allows external traffic bound for 10.10.10.10 (80); defaults to block all.
When I replace our existing firewall with a UT box configured this way, traffic is able to come through the firewall to our web server, and the log indicates that the rule above is the one that matched.
Question 2: if, indeed, the firewall happens before the NAT, why does this rule work at all? Why would not traffic simply be stopped altogether immediately when I connect UT?
This works for about an hour. Then all inbound traffic, including web traffic is blocked.
Question 3: if the NAT happens before the firewall, that is, if the documentation first linked to above is misleading, why does this rule only work for about an hour? The UT box has 2GB RAM and a newer processor ... is it possible that it's just getting completely congested in that time?