Skip to content

Instantly share code, notes, and snippets.

@lukirs95
lukirs95 / howto_utm_vpn_macos.md
Created June 10, 2025 15:42
How to access Host VPN Network from UTM Guest on MacOS

Problem

Your host machine (MacOS) get's an ip address from your VPN provider and possibly some routes to the remote network, but your VPN provider has no clue about other networks inside your host machine. That's what blocks UTM (QEMU) virtual machines from accessing the vpn network. UTM generates a new network for vm's and route entries for it automatically. This network is not known at the other side of the VPN, so although your PINGs reach the VPN the receiver of that ping does not know where to send it back.

Solution

@lukirs95
lukirs95 / ptp.js
Created March 8, 2022 16:46 — forked from philhartung/ptp.js
PTPv2 client and RTP relay with timestamping for AES67. Also includes SAP/SDP.
var sdp = require('./sdp');
//SDP Stuff
var samplerate = 48000;
var channels = 2;
var multicastAddr = '239.69.0.111';
var addr = '192.168.1.1';
var encoding = 'L24';
var name = 'RPi 4';
var sessID = Math.floor(Date.now() / 1000);