Skip to content

Instantly share code, notes, and snippets.

@davidmroth
Last active December 3, 2021 03:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidmroth/c13be20434afc68e174db5556a90c40a to your computer and use it in GitHub Desktop.
Save davidmroth/c13be20434afc68e174db5556a90c40a to your computer and use it in GitHub Desktop.
Fix for multipass using Cisco Anyconnect VPN
nat on <vpn tun device> proto {tcp, udp, icmp} from 192.168.64.0/24 to any -> <vpn tun device>
pass in log on <multipass bridge IP address> inet all flags S/SA keep state tag cisco_anyconnect_vpn_pass
# Example usage: pfctl -f ./firewall.pf.conf -v
# Find device names and ip info: netstat -nra -f inet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment