You are not logged in.

#1 2016-07-24 16:38:53

drgn
Member
From: tmplt @ freenode
Registered: 2015-08-13
Posts: 13

"Pipe" audio from program within network namespace to the host.

I have set-up a network namespace (described here) for programs I want to connect through OpenVPN. While this works, if a program resides within this namespace, no audio can be heard from it. Is it possible to "pipe" audio from this program to the host (i.e., outside of the namespace)?

This is the script I use to start a program within the netns:

#!/usr/bin/env sh
# /usr/local/sbin/vpn-run.sh

/bin/ip netns exec vpn \
    /usr/bin/sudo -u "drgn" -- "$@"

Is there something I need to pass to sudo to make this work?

Thanks in advance.

Offline

Board footer

Powered by FluxBB