RAW data (ie from pipe) thru OPENVPN client ?

This is where we can discuss what we would like to see added or changed in OpenVPN.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
ntpt
OpenVpn Newbie
Posts: 1
Joined: Sat Feb 23, 2013 1:08 am

RAW data (ie from pipe) thru OPENVPN client ?

Post by ntpt » Sat Feb 23, 2013 1:31 am

Hi all,

I have a question /feature request.... OpenVPN create tunnel connection between two network points. On one point it slurp data from network stack, on oposite point it flush data to the network stack a vice versa using TUN / TAP devices as source / output of the tunneled data.

What about to allow an openvrt to slurp/flush data not only from/to network stack via TUN/TAP, but raw data from/to unix local sockets or named pipes ? ie data inlet and outlet of the tunnel will not be a TUN/TAP device but FIFO or unix domain socket ? i mean a generic connection between two programs. I hope I am understandable....



PS: Please execuse my wrong english.

mwandelaar
OpenVPN Super User
Posts: 219
Joined: Mon Nov 23, 2009 8:24 pm

Re: RAW data (ie from pipe) thru OPENVPN client ?

Post by mwandelaar » Sat Feb 23, 2013 8:52 am

OpenVPN is a network-based topology. If you would introduce raw-datatraffic in the same tunnel, you loose all of the addressing-capabilities here as the unix-sockets and pipes don't know how to "address" the other endpoint.

If you would transfer raw-data over a normal network, you should learn your tools some ip-knowledge or wrap them into something like netcat:

Server:

Code: Select all

cat /dev/source | nc remote-ip port
Client:

Code: Select all

nc -l port > /some/where/dest.file

Post Reply