Skip to content
Streaming Video from server through VPN
Got a problem with Viscosity or need help? Ask here!
Hey guys,
Loving Viscosity as a client because of all cool features. Here's what I'm trying to achieve: I'm running OpenVPN Access Server on a VPS I'm renting. I've backed up some video files on to this server, and I want to stream them to my client machine (home computer) through OpenVPN. I've set up the VPN connection with Viscosity and everything's working great when accessing the internet (i.e. all traffic is being routed properly through the VPN). However, when trying to stream the videos hosted on my server, the traffic seems to be getting routed through my normal internet connection. Is it possible to encrypt the stream through OpenVPN running on the same machine, or will I have to go through a different VPN service to achieve this?
Loving Viscosity as a client because of all cool features. Here's what I'm trying to achieve: I'm running OpenVPN Access Server on a VPS I'm renting. I've backed up some video files on to this server, and I want to stream them to my client machine (home computer) through OpenVPN. I've set up the VPN connection with Viscosity and everything's working great when accessing the internet (i.e. all traffic is being routed properly through the VPN). However, when trying to stream the videos hosted on my server, the traffic seems to be getting routed through my normal internet connection. Is it possible to encrypt the stream through OpenVPN running on the same machine, or will I have to go through a different VPN service to achieve this?
Hi Aniki18,
Traffic between the OpenVPN server's public IP address and your computer will travel outside the VPN connection: this is because OpenVPN needs to maintain a route to the server for the VPN connection itself. The trick is to simply access your server using its internal VPN IP address instead (e.g. 10.8.0.1 or whatever it is assigned) instead of using its public IP address. This will ensure any traffic between the OpenVPN server will travel through the VPN connection.
You should be able to SSH into your server and use the ifconfig command to see what the internal IP address is of the tun/tap VPN adapter.
Cheers,
James
Traffic between the OpenVPN server's public IP address and your computer will travel outside the VPN connection: this is because OpenVPN needs to maintain a route to the server for the VPN connection itself. The trick is to simply access your server using its internal VPN IP address instead (e.g. 10.8.0.1 or whatever it is assigned) instead of using its public IP address. This will ensure any traffic between the OpenVPN server will travel through the VPN connection.
You should be able to SSH into your server and use the ifconfig command to see what the internal IP address is of the tun/tap VPN adapter.
Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
3 posts
Page 1 of 1