How we can create secure multicast tunnels with socat?
Assume we have a list of IP addresses, CIDR network addresses that we want to create secure tunnel to.
I found this:
socat STDIO UDP4-DATAGRAM:224.1.0.1:6666,range=192.168.10.0/24
But I want a secure tunnel and different IP and network addresses.
I want to create script that takes the IPs and net addresses and creates secure tunnels. It would be called like this:
./myscript IP1 NetAdd1 IP2 NetAdd2 ....
How can I send these parameters to socat?
Does socat multicast have any limits?