Hi,

On Thu, Dec 15, 2016 at 01:12:59PM +0000, Hongyi Zhao wrote:
> On Thu, 15 Dec 2016 10:52:05 +0100, Gert Doering wrote:
> 
> > A *tar* file is a container, that contains files plus header
> > information.
> 
> I also tried the bz2 format just for testing, see the following commands:
> 
> $ diff vpngate_1.0.126.222_tcp_995.ovpn_JP <( bzcat 
> vpngate_1.0.126.222_tcp_995.ovpn_JP.bz2 )
> $
> 
> As you can see, there is no differences between the above two files.

Right...  but I'm not sure why that is relevant to my comment about
doing this with a *tar* file.

> Still, the process-substitution-based version will failed as follows:
> 
> $ sudo openvpn <( bzcat vpngate_1.0.126.222_tcp_995.ovpn_JP.bz2 )
> Options error: In [CMD-LINE]:1: Error opening configuration file: /dev/
> fd/63
> Use --help for more information.
> $ 

That is interesting.  It *should* work, with a non-tar-file, but it seems 
we do not like device special files (/dev/fd/63) as config files.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to