An IP packet filter firewall allows you to create a set of rules that either discard or accept traffic over a network connection. The firewall itself does not affect this traffic in any way. Because a packet filter can only discard traffic that is sent to it, the device with the packet filter must either perform IP routing or be the destination for the traffic.
A packet filter has a set of rules with accept or deny actions. When the packet filter receives a packet of information, the filter compares the packet to your pre-configured rule set. At the first match, the packet filter either accepts or denies the packet of information. Most packet filters have an implicit deny all rule at the bottom of the rules file.
Packet filters usually permit or deny network traffic based on:
All packet filters have a common problem: the trust is based on IP addresses. Although this security type is not sufficient for an entire network, this type of security is acceptable on a component level.
Most IP packet filters are stateless, which means they do not remember anything about the packets they previously process. A packet filter with state can keep some information about previous traffic, which gives you the ability to configure that only replies to requests from the internal network are allowed from the Internet. Stateless packet filters are vulnerable to spoofing since the source IP address and ACK bit in the packet's header can be easily forged by attackers.
i5/OS™ lets you specify packet filter rules on interfaces and remote access service profiles. See the following topics for more details: Create IP filter rules and Remote Access Services: PPP connections. If you are using either an external packet filter firewall or packet filter rules on the i5/OS and your Universal Connection data passes through these filters, you must change the filter rules to allow the connection to the IBM® VPN Gateway as follows:
IP filter rules | IP filter values |
---|---|
UDP inbound traffic filter rule | Allow port 4500 for VPN gateway addresses |
UDP inbound traffic filter rule | Allow port 500 for VPN gateway addresses |
UDP outbound traffic filter rule | Allow port 4500 for VPN gateway IP addresses |
UDP outbound traffic filter rule | Allow port 500 for VPN gateway IP addresses |
ESP inbound traffic filter rule | Allow ESP protocol (X'32') for VPN gateway IP addresses |
ESP outbound traffic filter rule | Allow ESP protocol (X'32') for VPN gateway IP addresses |
For those Universal Connection applications that use HTTP and HTTPs for a transport, you must change the filter rules to allow connections to the IBM service destinations as follows:
IP filter rules | IP filter values |
---|---|
TCP inbound traffic filter rule | Allow port 80 for all service destination addresses |
TCP inbound traffic filter rule | Allow port 443 for all service destination addresses |
TCP outbound traffic filter rule | Allow port 80 for all service destination addresses |
TCP outbound traffic filter rule | Allow port 443 for all service destination addresses |
Part of changing the filter rules involves specifying an actual IBM VPN Gateway address. You can determine these addresses as described in Determine the IBM VPN Gateway addresses.
In addition, for HTTP and HTTPs traffic, part of changing the filter rules may involve specifying actual service destination addresses. You can determine these addresses as described in Determine the IBM Service Destination addresses.
For more information, see the Packet rules concepts topic.