diff options
author | Ethan Jackson <ethan@nicira.com> | 2011-08-31 17:56:07 -0700 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2011-08-31 18:27:01 -0700 |
commit | 438540b315fd4399316fa6e8448898a8ed9ecefb (patch) | |
tree | b397ef2ee3bcd63fbe51de5d5e28bd8aa3287edd /rhel | |
parent | def046d5867c3b0853c03bfc18ea103eb2c3fe14 (diff) |
rhel: Poke iptables hole for gre in init scripts.
Diffstat (limited to 'rhel')
-rwxr-xr-x | rhel/etc_init.d_openvswitch | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rhel/etc_init.d_openvswitch b/rhel/etc_init.d_openvswitch index 6f7fe695..5501d188 100755 --- a/rhel/etc_init.d_openvswitch +++ b/rhel/etc_init.d_openvswitch @@ -31,9 +31,6 @@ test -e /etc/sysconfig/openvswitch && . /etc/sysconfig/openvswitch start () { - # Allow GRE traffic. - /sbin/iptables -I INPUT -p gre -j ACCEPT - set $ovs_ctl ${1-start} set "$@" --system-id=random if test X"$FORCE_COREFILES" != X; then @@ -50,6 +47,8 @@ start () { fi "$@" + $ovs_ctl --protocol=gre enable-protocol + touch /var/lock/subsys/openvswitch } |