diff options
Diffstat (limited to 'meta-openstack')
4 files changed, 35 insertions, 0 deletions
diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto/iptables-nat.cfg b/meta-openstack/recipes-kernel/linux/linux-yocto/iptables-nat.cfg new file mode 100644 index 0000000..6e1cff7 --- /dev/null +++ b/meta-openstack/recipes-kernel/linux/linux-yocto/iptables-nat.cfg | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | CONFIG_NF_NAT=m | ||
| 2 | CONFIG_NF_NAT_NEEDED=y | ||
| 3 | CONFIG_NF_NAT_PROTO_UDPLITE=m | ||
| 4 | CONFIG_NF_NAT_PROTO_SCTP=m | ||
| 5 | CONFIG_NF_NAT_AMANDA=m | ||
| 6 | CONFIG_NF_NAT_FTP=m | ||
| 7 | CONFIG_NF_NAT_IRC=m | ||
| 8 | CONFIG_NF_NAT_SIP=m | ||
| 9 | CONFIG_NF_NAT_TFTP=m | ||
| 10 | |||
| 11 | CONFIG_NETFILTER_XT_TARGET_NETMAP=m | ||
| 12 | |||
| 13 | CONFIG_NETFILTER_XT_TARGET_REDIRECT=m | ||
| 14 | |||
| 15 | CONFIG_NF_NAT_IPV4=m | ||
| 16 | CONFIG_IP_NF_TARGET_MASQUERADE=m | ||
| 17 | CONFIG_IP_NF_TARGET_NETMAP=m | ||
| 18 | CONFIG_IP_NF_TARGET_REDIRECT=m | ||
| 19 | CONFIG_NF_NAT_PROTO_GRE=m | ||
| 20 | CONFIG_NF_NAT_PPTP=m | ||
| 21 | CONFIG_NF_NAT_H323=m | ||
diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto/iptables-nat.scc b/meta-openstack/recipes-kernel/linux/linux-yocto/iptables-nat.scc new file mode 100644 index 0000000..9faf22e --- /dev/null +++ b/meta-openstack/recipes-kernel/linux/linux-yocto/iptables-nat.scc | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | define KFEATURE_DESCRIPTION "Enable iptables nat" | ||
| 2 | define KFEATURE_COMPATIBILITY board | ||
| 3 | |||
| 4 | kconf non-hardware iptables-nat.cfg | ||
diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto_3.4.bbappend b/meta-openstack/recipes-kernel/linux/linux-yocto_3.4.bbappend new file mode 100644 index 0000000..02bf487 --- /dev/null +++ b/meta-openstack/recipes-kernel/linux/linux-yocto_3.4.bbappend | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 2 | PRINC := "${@int(PRINC) + 1}" | ||
| 3 | |||
| 4 | SRC_URI += "file://iptables-nat.scc" | ||
| 5 | |||
diff --git a/meta-openstack/recipes-kernel/linux/linux-yocto_3.8.bbappend b/meta-openstack/recipes-kernel/linux/linux-yocto_3.8.bbappend new file mode 100644 index 0000000..02bf487 --- /dev/null +++ b/meta-openstack/recipes-kernel/linux/linux-yocto_3.8.bbappend | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 2 | PRINC := "${@int(PRINC) + 1}" | ||
| 3 | |||
| 4 | SRC_URI += "file://iptables-nat.scc" | ||
| 5 | |||
