I want to share my internet connection and VPN connection but Tunnelblick/OpenVPN doesn’t play nice with internet connection sharing in OS X.
There was a suggestion on a workaround on how to route all traffic over VPN as per this post: Using (and sharing) a VPN connection on your Mac
The script is:
#!/bin/sh
natd -interface tun0
ipfw -f flush
ipfw add divert natd ip from any to any via tun0
ipfw add pass all from any to any
sysctl -w net.inet.ip.forwarding=1
I am not a UNIX expert – so I am just wondering if anyone can help me with the alternative for the above deprecated commands please?