Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Internet Sharing from my MacBook Pro (10.6.6) to other WiFi devices works fine.

But the moment I turn on the VPN connection (PPTP) on the Mac (which I would also like to share), the other devices cannot access anything anymore (everything works fine on the Mac itself).

What do I do?

share|improve this question
add comment

4 Answers

up vote 1 down vote accepted
+50

OS-X treats a VPN connection as a totally separate connection from the device (airport, ethernet) it is transported on. So when you turned on your VPN, your airport or ethernet connection was no longer active.

If you want to share the VPN connection, you have to set up sharing for it the same way you did for your primary, non-VPN connection. They behave totally separately, for sharing purposes.

share|improve this answer
add comment

I'd suggest you follow the excellent blogpost by Rodrigo at http://rodrigo.sharpcube.com/2010/06/20/using-and-sharing-a-vpn-connection-on-your-mac/

Worked for me.

share|improve this answer
    
+1 I'll give that a try. Those manual settings for ipfw do not persist anywhere, right? (I don't want to break anything). Do I need to reboot to flush them out again, or just a VPN disconnect? –  Thilo Mar 17 '11 at 12:56
    
in order to "flush" just issue a: ipfw -q flush, no need to reboot. –  Martín Marconcini Mar 17 '11 at 14:50
    
Martin is correct, no need to reboot. If you're obsessive compulsive like me, on OS X 10.6.x you can go to System Preferences->Security->Firewall (rightmost tab) and turn it off then on. You'll may be prompted for Administrator password. –  Global nomad Mar 17 '11 at 16:21
add comment

To share a VPN connection on 10.7, using WaterRoof, follow these directions.

To share a VPN on 10.8 and above, do the same thing with IceFloor

share|improve this answer
add comment

Linking to rodrigo.sharpcube.com is appalling. I lost hours of my life following it. It's a totally unnecessary wild goose chase into IPFW. Please avoid. The first answer from JRobert is accurate. Here is a more detailed step by step with images.

share|improve this answer
add comment

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.