Ok, this may sound strange, but here's what I want to do:
I have Windows running in shared networking mode. This is so that 1) no one on my network can see it, and 2) it can share the VPN connection my Mac is using.
However, I want people from within the VPN to access certain ports on the Windows machine, such as VNC.
My question is, can I setup TCP port forwarding so that users within my VNC network (interface tap0) can connect to my Mac using my VNC IP address, yet the service get forwarded to my Windows using shared networking (on interface en3)?
Here's the picture:
VNC machine -> VNC -> Mac -> Windows guest
This way, somebody inside my VNC network could operate my guest Windows remotely over VNC (so I can show them something I've cooked up, for example) and yet I get all the other security and ease of use benefits that come with shared networking.
Without shared networking, the only way VPN users could see my Windows guest machine if I used bridged networking and then installed the VPN client and established a second, independent connection to the VPN from within Windows. But that seems like a waste if all I need to forward is a single port or two.
John
I have Windows running in shared networking mode. This is so that 1) no one on my network can see it, and 2) it can share the VPN connection my Mac is using.
However, I want people from within the VPN to access certain ports on the Windows machine, such as VNC.
My question is, can I setup TCP port forwarding so that users within my VNC network (interface tap0) can connect to my Mac using my VNC IP address, yet the service get forwarded to my Windows using shared networking (on interface en3)?
Here's the picture:
VNC machine -> VNC -> Mac -> Windows guest
This way, somebody inside my VNC network could operate my guest Windows remotely over VNC (so I can show them something I've cooked up, for example) and yet I get all the other security and ease of use benefits that come with shared networking.
Without shared networking, the only way VPN users could see my Windows guest machine if I used bridged networking and then installed the VPN client and established a second, independent connection to the VPN from within Windows. But that seems like a waste if all I need to forward is a single port or two.
John