Configuration: route specific traffic over Openvpn

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Locked
janhoedt
OpenVPN Power User
Posts: 56
Joined: Wed Sep 21, 2011 3:10 pm

Re: Configuration: route specific traffic over Openvpn

Post by janhoedt » Fri Sep 23, 2011 2:11 pm

Great, thanks!
Regarding Iphone, I kind of hoped the destination proxy-server could be added in config(?)

janhoedt
OpenVPN Power User
Posts: 56
Joined: Wed Sep 21, 2011 3:10 pm

Re: Configuration: route specific traffic over Openvpn

Post by janhoedt » Fri Sep 23, 2011 2:35 pm

Can't I configure to use a proxy as from when connected?
F.e. remote proxy: 192.168.1. ...

RedPenguin
OpenVpn Newbie
Posts: 12
Joined: Fri Nov 18, 2011 10:47 pm

Re: Configuration: route specific traffic over Openvpn

Post by RedPenguin » Fri Nov 18, 2011 10:55 pm

I have a question related to the original posters question but with a slight spin.

My OpenVPN setup is limited to 256KB/s (normally around 200) upload.

I use it on the go on open wifi networks with security.

Now normally 200kb/s works fine for web browsing, VoIP, streaming media, etc.

My question is, is there any type of setup I can do with OpenVPN that when I need to download large files, like a Linux ISO, it could be like, nah send that through your normal connection?

I ask because once in a while I have to turn off the tunnel to download a file otherwise I'm sitting there for hours downloading it at 200KB/s when the WiFI I may be on can download at 1MB/s or more.

If you can't really go by file size can you at least go by protocol?

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Configuration: route specific traffic over Openvpn

Post by janjust » Sat Nov 19, 2011 12:49 am

this is not really an openvpn issue: suppose you have 2 network cables with 2 internet connections, one fast, one slow. how would you tell your PC to do certain transfers via 1 link, and others via the other link? this is virtually impossible using TCP/IP routing, as you cannot filter on file size

filtering on protocol type is possible on linux (e.g. using iptables) but it's tricky and again, has little to do with openvpn

Halems
OpenVpn Newbie
Posts: 2
Joined: Fri Apr 15, 2016 10:16 am

Re: Configuration: route specific traffic over Openvpn

Post by Halems » Fri Apr 15, 2016 10:18 am

i found socks5 to be slow for web browser proxy. maybe its the tcp over tcp is a bad idea thing. my pref is to host in my lan a http proxy server (squid) and then , using vpn, configure the chrome proxy addon to talk to the remote lan squid.... so no ssh involved

Locked