Can I make OBS exclusively run on VPN? while other apps are using a regular connection?

Gamerswits

New Member
I was wodering if I can make Obs studio use VPN network "I have fastestvpn" and I want to route my OBS connection via that VPN , and all others will operate on a normal network.
why would I do this?
I live in the Philippines and I have ConvergeICT as an ISP
according to what I read on reddit and other forums, even If I acquire Static IP address or upgrade my connection it wont fix my Problem with my streaming
I have already coordinated with My ISP they have multiple complaints about it but nothing was resolved.
I stream to twitch/facebook, so everytime I start my stream I get disconnected every 3 to 5 minutes
My PC hardware is, ryzen 7 3700x Rtx 3060 12gb , 16gb 3600Mhz RAM , I use Ethernet Cat6 cables to an Asus Router RT-AC5300 with QOS enabled with my PC as the highest Priority,
This is My most Recent Speedtest https://www.speedtest.net/result/13005504363
The results are the same whether I Stream at 1000Kbps or 6000 Kbps
The problem lies with CGNAT , my isp's routing protocol...
VPN seems to solve this problem,
So I was wondering if there was a way to have Only OBS run on VPN then my games and all other apps run on a normal connection?
why? So I can have Lower ping.
 

R1CH

Forum Admin
Developer
Yes, activate the VPN but don't make it your default route. Then bind OBS to the VPN IP in advanced network settings.
 

Gamerswits

New Member
Yes, activate the VPN but don't make it your default route. Then bind OBS to the VPN IP in advanced network settings.
Thanks I tried this but when I disable the default gateway on my VPN via windows 10 that results in having the VPN not getting any internet connection.
So for now as a Workaround I whitelisted my Game's IP address and let all other apps run through the VPN
 

konsolenritter

Active Member
You have to change your default route / gateway from the vpn routing point to your regular internet connection gateway, not delete it!
 

konsolenritter

Active Member
Under windows open a "cmd" shell with admin privileges. An "ipconfig" lists your interfaces with their ip addresses. One will be your physical link to your internet/router (that may even be a wireless adapter), and one other will represent your current vpn endpoint. (You should know your real routers ip address, too. Lets assume 192.168.22.1 as your routers address.)

With "route delete 0.0.0.0" you may kill your default route, then set "route add 0.0.0.0 mask 0.0.0.0 192.168.22.1" to setup a default router thru your real router while the vpn connection is established.

Setting up routes in a fashion/manner like that is a hard way to tell, but its directly linked to the physical (and real) kind how internetworking works.

You don't have much time for that, for instance under win10. I tried it these minutes. Just a couple of seconds after "route delete..." the default route has been restored by windows itself. Seems that the Location Awareness Service proofs for internet availability in the background and manages the routes by themselfs. So it may be reasonable to write a batch file under windows to take the two steps within a second or two.
 

FerretBomb

Active Member
As a side note, if you're trying to change your route to the Twitch/YT/etc ingest servers or bypass ISP shaping with a VPN, as the OP is, binding OBS to the VPN gateway address is the way to go.

If it's for privacy or to avoid getting DDoSed in a multiplayer game, it should be the other way around... OBS binding to the actual gateway, and everything else going through the virtual. That way if a DDoS comes in, the VPN may die, but the stream (and your actual connection!) will stay up.
 
Top