Red Hat Bugzilla – Bug 471630
IKE negotiations fail when iptables is enabled
Last modified: 2014-06-02 09:16:19 EDT
Description of problem:
The default IPv4 and IPv6 firewall rules do not allow inbound IKE traffic and the bundled firewall configuration tools do not allow administrators to enable IKE traffic. This has caused problems when trying to establish IPsec connections over IPv6 using IKE.
The problem was solved by adding the following line to /etc/sysconfig/iptables and restarting the firewall services.
-A RH-Firewall-1-INPUT -p udp --sport 500 --dport 500 -j ACCEPT
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. service ip6tables start
2. try to initiate an IKE negotiation over IPv6
IKE negotiation will fail due to a phase-1 timeout caused by a lack of communication with the remote host.
IKE negotiation succeeds.
Paul, are you saying that we should add IKE/IKE2 to system-config-firewall IPSec settings? We have a tight set of default rules and should allow for easy changes by system-config-firewall.
Honestly I really don't care how you solve the problem, but as it stands right now with RHEL5.2 the only way to enable IKE negotiations is to either manipulate the configuration files directly or disable the firewall. Neither approach seems like a good solution to me.
Moving this to system-config-securitylevel for addition of options to allow incoming IKE negotiations.
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).