Skip to content

Instantly share code, notes, and snippets.

tasket

Block or report user

Report or block tasket

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jpouellet
jpouellet / qvm-port-forward.sh
Last active Oct 15, 2019
Forwards a specified port to a specified VM, auto-detecting its NetVM chain. (Qubes OS)
View qvm-port-forward.sh
#!/bin/sh
# Inspired by https://gist.github.com/daktak/f887352d564b54f9e529404cc0eb60d5
ip() { qvm-ls --raw-data ip -- "$1"; }
netvm() { qvm-prefs -g -- "$1" netvm; }
forward() {
local from_domain=$1
local to_domain=$2
You can’t perform that action at this time.