summaryrefslogtreecommitdiff
path: root/etc/optional/forwarding
diff options
context:
space:
mode:
authorPÁLI Gábor János <pali.gabor@gmail.com>2022-11-29 04:53:11 +0100
committerPÁLI Gábor János <pali.gabor@gmail.com>2022-11-29 05:19:56 +0100
commitc0713400778eb412d113ea217982a586d79f35fe (patch)
tree1daa03547c5f1c17a624a72f7a14f9d17f1ed58e /etc/optional/forwarding
parent14a3e2bad5c174b8a4ee5a4890e16145a23f39f1 (diff)
downloadfreebsd-wifibox-alpine-c0713400778eb412d113ea217982a586d79f35fe.zip
Implement a forwarding service.
- Add the `forwarding` system service (script + OpenRC support). - Enable support for UDP ports for `socat`. - Adjust UDS pass-through to avoid conflicts with forwarding. - Update documentation. Requested by: Universal Devices
Diffstat (limited to 'etc/optional/forwarding')
-rw-r--r--etc/optional/forwarding/appliance/forwarding.conf.sample9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/optional/forwarding/appliance/forwarding.conf.sample b/etc/optional/forwarding/appliance/forwarding.conf.sample
new file mode 100644
index 0000000..4a16606
--- /dev/null
+++ b/etc/optional/forwarding/appliance/forwarding.conf.sample
@@ -0,0 +1,9 @@
+# With the help of this configuration file, forwarding of traffic
+# between the different networks could be implemented via socat(1).
+# It should hold the parameters to be passed for socat(1), consult its
+# manual page for the details.
+#
+# Example configurations:
+#
+# UDP4-RECV:11223,broadcast,reuseaddr UDP4:10.0.0.2:11223
+# UDP-LISTEN:11224,broadcast,fork,reuseaddr UDP:10.0.0.2:11224