Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I work for a company that has a lot of remote agents that use mac's. Before we will move them to mountain lion, we had to address the VPN issues we were having. We deal with a lot live media and therefore want only the directories on our intranet to be go through the VPN tunnel and all other traffic to go direct out. So to do this I had to add the ip-up file to /etc/ppp. This got it working the way we wanted it too. Now the fun part is, it would be very difficult and time consuming to walkthrough people on how to do this themselves. So I want to create a script that will create the ip-up file with our ip subnets for themin the /etc/ppp directory. I have made an attempt or two at this and have been unsuccessful. Any and all help would be awesome.

Thanks, Nick

share|improve this question
    
Nick, could you tell me what I'm not understanding in your question. OS X has a built in VPN client (Cisco, L2TP, PPTP). You are going to have people use this to connect to your VPN server while they are at home. You are trying to set it up so that peoples use of a resource is forced through the VPN. What kind of VPN have you set up (what is your VPN server)? How are you doing domain control? –  Everett Aug 13 '12 at 21:52
    
It is an L2TP but I am not sure what you mean by domain control. We have active directory that we allow VPN access through. –  Nick Mulder Aug 13 '12 at 21:55
    
Active Directory is a way to do Domain control (Open directory is another one). –  Everett Aug 13 '12 at 21:57

1 Answer 1

There is a setting on a mac in the built in VPN that makes all traffic go over the VPN: enter image description here

share|improve this answer
    
As I said above, we do NOT want to send all traffic through VPN. It is slower to route it that way for us. I have this working correctly. I want to make a script to do this faster. I can lay out all the steps it takes. –  Nick Mulder Aug 13 '12 at 21:58
    
I do this to my house, with a Mac. My configuration is this: I have a Mac Mini Server that has DNS running on it. It's running Open Directory. I have a VPN server running through it and my AirPort. When I connect to my VPN, anything that is served to my account (SMB, AFP, Printer, Fax) is available. –  Everett Aug 13 '12 at 22:00
    
Uncheck the box above. that says "Send all traffic over VPN connection." This will cause only the resources available through your domain control to travel the VPN. –  Everett Aug 13 '12 at 22:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.