Skip to content

Instantly share code, notes, and snippets.

View qishen's full-sized avatar
🏠
Working from home

qishen qishen

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am qishen on github.
  • I am qishen (https://keybase.io/qishen) on keybase.
  • I have a public key ASCl1TS7xbBQEr65lafcYp3ubB8HUMAeTL6jQtBv9QXZpgo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am qishen on github.
  • I am qishen (https://keybase.io/qishen) on keybase.
  • I have a public key ASDlfrHplmhSVL3CdX1TtT10kn6BvsiQAUMl6FwdQVmNiQo

To claim this, I am signing this object:

@qishen
qishen / wsl2-network.ps1
Created June 22, 2021 22:07 — forked from daehahn/wsl2-network.ps1
WSL 2 TCP NETWORK FORWARDING
# WSL2 network port forwarding script v1
# for enable script, 'Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser' in Powershell,
# for delete exist rules and ports use 'delete' as parameter, for show ports use 'list' as parameter.
# written by Daehyuk Ahn, Aug-1-2020
# Display all portproxy information
If ($Args[0] -eq "list") {
netsh interface portproxy show v4tov4;
exit;
}