Setup a systemd
Service with your custom socat
command.
It's perfect to bridge traffic from ipv4
to ipv6
or do some other crazy network stuff.
You can use several Variables to configure this role.
socat_service_name
- the name for thesystemd
Service (appended tosocat-
)socat_command
- the parameter line for thesocat
command. (e.g.:TCP6-LISTEN:443,fork TCP4:10.10.10.10:443
)