|
|
How do I control which types of traffic go over vpn?
|
|
|
|
Mac Enthusiast
Join Date: May 2002
Status:
Offline
|
|
I have a PPTP VPN which I would like to direct all traffic over (no problem all works fine) - except for some particular types of traffic, in this case usenet - which wont work over the VPN as it's account is tied to my IP, (which obviously changes if I use the VPN.)
Thanks.
|
I have Mac
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status:
Offline
|
|
The only thing I'm aware of that comes close is
Sys Prefs > Network > Your VPN > Advanced > Send all traffic over VPN connection
|
•
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status:
Offline
|
|
I'm sure there is some *nix magic that can be done. I just don't know how
-t
|
|
|
|
|
|
|
|
|
Moderator
Join Date: Jan 2001
Location: Polwaristan
Status:
Offline
|
|
I've had problems getting dns lookups to use the vpn with the advanced setting simon mentioned. Could be my own failings in getting it to work though. The unix stuff is a pain as well.
Viscosity (shareware, inexpensive) works great and has a setting for that. I've used it recently and tested it with packet sniffing. It routes all over vpn, including dns lookups.
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
First of all, there is no standard VPN implementation, there are several including PPTP, IPSec, OpenVPN, FreeS/WAN, and VPN provided by hardware. PPTP is what I believe Microsoft provides, and it is the least desirable in terms of its security reputation, as I understand it. I can't account for the setting that Simon found in OS X, but normally routing all traffic through your VPN is a server side setting. I've setup an OpenVPN VPN, and by default it didn't route all traffic through the VPN, this was an additional option.
If you are looking for a simple replacement that supports routing all traffic as you desire, OpenVPN is a good choice. The client that Cold Warrior posted, Viscosity, is an OpenVPN client. Tunnelblick is another free OpenVPN client if you don't wish to pay for Viscosity. On the Windows side the official OpenVPN client includes a GUI. Neither will not work with PPTP or IPSec based VPNs. Likewise, the built in OS X VPN client only works with particular VPN implementations - IPSec and PPTP, I believe. Any OS X setting you find in the System Preference Network pane will not apply to your OpenVPN VPN.
It is important to think about this stuff at a lower level than you guys are. Simply finding stuff in your GUI to click on and resorting to trial and error is not the way to do it. You need details and specifics of your server you are connecting to, and you have to understand how your server is configured realizing that the control you have on the client side is limited. If you are hampered by the VPN you are connecting to, just run your own if you can, it's not terribly hard setting up OpenVPN.
(
Last edited by besson3c; Jul 24, 2009 at 02:40 PM.
)
|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status:
Offline
|
|
Originally Posted by Cold Warrior
I've had problems getting dns lookups to use the vpn with the advanced setting simon mentioned. Could be my own failings in getting it to work though.
I've seen that as well. I'm pretty certain it's related to bad settings on the server side.
But there is an easy workaround. Just use OpenDNS IPs along with the setting to route all traffic over VPN. DNS lookups will then work while all the other traffic will still be routed through your VPN tunnel.
|
•
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: May 2002
Status:
Offline
|
|
|
I have Mac
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Originally Posted by Simon
I've seen that as well. I'm pretty certain it's related to bad settings on the server side.
But there is an easy workaround. Just use OpenDNS IPs along with the setting to route all traffic over VPN. DNS lookups will then work while all the other traffic will still be routed through your VPN tunnel.
What do you hope to accomplish with routing DNS requests over a VPN that can't be accomplished running your own DNS server, or relying on your /etc/hosts file? This seems like a lot of hassle to me, but I'm probably not understanding your objective here.
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Originally Posted by GENERAL_SMILEY
Not with an absence of details, sorry!
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: May 2002
Status:
Offline
|
|
Apologies I don't think I was being very clear, and I'm still not sure this is the right way, so just bear with me.
I have a PPTP connection which I want to move all non local traffic over, (which currently works like that when I click the send all traffic over tick box) - except I want to keep one type of traffic (ssl usenet, port 563) outside of the VPN.
Does this make sense.
|
I have Mac
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
I don't think you can, not without controlling the server. There is no way that some VPN provider is going to route your traffic, incur your bandwidth costs, and take on this responsibility unless they want to.
(
Last edited by besson3c; Jul 25, 2009 at 02:07 PM.
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|