Sas
Regular Contributor
Just a little follow up. In my use case, I always enable or disable my various client vpns via shortcuts created on my iphone. I just added this command to a combined shortcut and it works great. It does the following:
- Run Script over SSH with command "service start_vpnclient3" (3rd client config, for example)
- Run Script over SSH with command "ip6tables -I FORWARD -m mac --mac-source 00:01:02:03:04:05 -j REJECT" (using mac address of device you want to disable IPv6 leak on, in my case an Apple TV box)