Hi!
Ok, so here's the skinny: I have a macbook pro with an ethernet interface (en0) connected to the internet (via an openvpn tunnel) and a wifi interface (en1) that I want to use to share that connection.
I need to use Internet Sharing to create an infrastructure (not ad-hoc!) wifi, and I need to share a virtual interface (tun0, the openvpn tunnel).
This is proving difficult, as the Internet Sharing network preferences pane does not list my vpn as one of the options in the "Share your connection from" list.
Now, I managed to do this with an ad-hoc network just fine with the help of WaterRoof to set up NAT. However, this is only a partial solution; most of my wifi devices can connect this way, but one does not; it requires an infrastructure mode wifi.
So... how do I take control of the Internet Sharing features? How do I tell it to use tun0? I can see two possible solutions, but I don't know how to accomplish either of them:
1. Get tun0 into the gui list of "share from" options in the preferences pane
2. Write a script that manually creates the infrastructure mode wifi and sets up NAT for it
Many thanks, in advance.
Ok, so here's the skinny: I have a macbook pro with an ethernet interface (en0) connected to the internet (via an openvpn tunnel) and a wifi interface (en1) that I want to use to share that connection.
I need to use Internet Sharing to create an infrastructure (not ad-hoc!) wifi, and I need to share a virtual interface (tun0, the openvpn tunnel).
This is proving difficult, as the Internet Sharing network preferences pane does not list my vpn as one of the options in the "Share your connection from" list.
Now, I managed to do this with an ad-hoc network just fine with the help of WaterRoof to set up NAT. However, this is only a partial solution; most of my wifi devices can connect this way, but one does not; it requires an infrastructure mode wifi.
So... how do I take control of the Internet Sharing features? How do I tell it to use tun0? I can see two possible solutions, but I don't know how to accomplish either of them:
1. Get tun0 into the gui list of "share from" options in the preferences pane
2. Write a script that manually creates the infrastructure mode wifi and sets up NAT for it
Many thanks, in advance.