How we can create secure tunnels multicast with socat?
Assume we have a list of ip address, CIDR network addresses that we want to create secure tunnel to them.
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 adds with net addrs
I want to create script that give the IPs and net addresses and create secure tunnel
./myscript
From the man page, socat allows me to open a TCP tunnel to the SSL target using the proxy option. Unfortunately, that is only half of the solution.
Further research shows that socat2 addresses this usage case using address chains. However socat2 is still in beta and not yet readily available for a number of platforms.
How can I send data (e.g.
Following http://jdimpson.livejournal.com/6812.html, I've socat UDP client-server set as following:
socat as a UDP server on port 11111.
socat STDIO UDP-LISTEN:11111
and then as a UDP client.
socat - UDP:localhost:11111
Now the question is that when I write from client, server gets the data via UDP. But UDP is unidirectional.
I rely on the following script tunnel.sh written by others to keep a ssh tunnel alive:
#!/bin/bash
export SSH_HOST=tim@server
if [ ! -f /tmp/.tunnel ]
then
echo "Creat SSH tunnel"
ssh -f -D 9999 $SSH_HOST "if [ -f ~/.tunnel ]; then rm ~/.tunnel; fi; while [ !
The socat command shuffles data between two locations. One way to think of socat is as the cat command which transfers data between two locations rather than from a file to standard output.
Hello.
I need to simulate a few serial links (doing a simulation of an application for a robot) and found socat which, at least with minicom, is working flawlessly.
I would really like to make pts static: ie same numbers between reboots, and automatic (not me opening terminals and leaving them with empty socat windows).
Is there a way for this?
Or maybe there is a (super easy!) way of replicati
socat: Arbitrary code execution
Good afternoon,As total linux newbie I'm reading this forum since few weeks and it helped me to solve most of the problems i found on my way.Unfortunately, now i have to ask for help.I'm working on Raspberry Pi with ArchLinux Arm.The purpose of my project is to run RPi as Access Point with DHCP server and providing to the connected clients a Serial / TCP pipe to dialogue with a machine p
I have a server running UDP server on port 50000. This server receives updates from clients, and pings back the clients every 5 seconds to the socket they were connected from.
Now I want to redirect all the traffic to and from this UDP server via another server. Basically I want to setup a transparent proxy in front of this server.