* [ptxdist] [PATCH] systemd: IP forwarding and masquerading support
@ 2016-04-27 14:13 Artur Wiebe
0 siblings, 0 replies; only message in thread
From: Artur Wiebe @ 2016-04-27 14:13 UTC (permalink / raw)
To: ptxdist; +Cc: Artur Wiebe
Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
rules/systemd.in | 8 ++++++++
rules/systemd.make | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/rules/systemd.in b/rules/systemd.in
index c58e424..876a890 100644
--- a/rules/systemd.in
+++ b/rules/systemd.in
@@ -19,6 +19,7 @@ menuconfig SYSTEMD
select LZ4 if SYSTEMD_LZ4
select LIBSECCOMP if SYSTEMD_SECCOMP
select LIBSELINUX if GLOBAL_SELINUX
+ select IPTABLES if SYSTEMD_IPMASQUERADE
# for udev:
select ROOTFS_DEV
select LIBKMOD
@@ -81,6 +82,13 @@ config SYSTEMD_NETWORK
bool
prompt "network configuration with systemd"
+config SYSTEMD_IPMASQUERADE
+ bool
+ depends on SYSTEMD_NETWORK
+ prompt "IP forwarding and masquerading support"
+ help
+ Pv4/IPv6 support also needs to be enabled in iptables package
+
config SYSTEMD_TIMEDATE
bool
default y
diff --git a/rules/systemd.make b/rules/systemd.make
index dbf62f5..71c633a 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -92,7 +92,7 @@ SYSTEMD_CONF_OPT := \
--disable-microhttpd \
--disable-libcurl \
--disable-libidn \
- --disable-libiptc \
+ --$(call ptx/endis,PTXCONF_SYSTEMD_IPMASQUERADE)-libiptc \
--disable-binfmt \
--$(call ptx/endis,PTXCONF_SYSTEMD_VCONSOLE)-vconsole \
--enable-bootchart \
--
2.8.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-27 14:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-27 14:13 [ptxdist] [PATCH] systemd: IP forwarding and masquerading support Artur Wiebe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox