Skip to content

Commit

Permalink
rhel: Remove the firewall hole that we create for GRE.
Browse files Browse the repository at this point in the history
Till now, by default, we add firewall holes for
gre traffic. There may be users that do not use GRE tunnels
and they may be surprised with this behavior. So, don't add
the firewall rules by default and update the documentation
to mention the same.

This patch does not remove the default GRE firewall rule for
xenserver because xenserver has a feature called "Cross-Host
Internal Networks" (CHIN) that uses GRE.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
  • Loading branch information
shettyg committed Apr 16, 2013
1 parent c2301fb commit f9ee9dc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions INSTALL.RHEL
Expand Up @@ -101,6 +101,12 @@ RHEL. On RHEL 5, the default RPM source directory is
in this example: "kmod-openvswitch", "kmod-openvswitch-debug", and
"kmod-openvswitch-kdump".

A RHEL host has default firewall rules that prevent any Open vSwitch tunnel
traffic from passing through. If a user configures Open vSwitch tunnels like
GRE, VXLAN, LISP etc., they will either have to manually add iptables firewall
rules to allow the tunnel traffic or add it through a startup script (Please
refer to the "enable-protocol" command in the ovs-ctl(8) manpage).

Red Hat Network Scripts Integration
-----------------------------------

Expand Down
5 changes: 4 additions & 1 deletion NEWS
Expand Up @@ -13,7 +13,10 @@ post-v1.10.0
- ovs-dpctl:
* New debugging commands "add-flow", "mod-flow", "del-flow".
- New syslog format, prefixed with "ovs|", to be easier to filter.

- RHEL: Removes the default firewall rule that allowed GRE traffic to
pass through. Any users that relied on this automatic firewall hole
will have to manually configure it. The ovs-ctl(8) manpage documents
the "enable-protocol" command that can be used as an alternative.

v1.10.0 - xx xxx xxxx
---------------------
Expand Down
2 changes: 0 additions & 2 deletions rhel/etc_init.d_openvswitch
Expand Up @@ -48,8 +48,6 @@ start () {
set "$@" $OVS_CTL_OPTS
"$@"

ovs_ctl --protocol=gre enable-protocol

touch /var/lock/subsys/openvswitch
}

Expand Down

0 comments on commit f9ee9dc

Please sign in to comment.