I'd like to directly connect (be able to use ping/ssh or other common commands) two local Mac machines as one sometimes is on VPN. The two Mac normally are connected via a wireless router when none of them are on VPN. The VPN does not allow split tunnel. Once a Mac is on VPN, it can not access the other Mac behind the router.
The only solution I can think of is to directly connect them without using the wireless router. I'd prefer not to use a wired connection. However, it seems that this can not be done wirelessly, as via wireless a Mac can either connect to the wireless router or connect to a local network set up by the other Mac but not both.
Could anybody let me know a good way to solve this connection problem when one local Mac is on VPN? Thanks.