mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-04 04:28:11 +00:00 
			
		
		
		
	add helper to show forwarding status
This commit is contained in:
		
							parent
							
								
									bcef2f02d9
								
							
						
					
					
						commit
						286966d1f5
					
				
					 2 changed files with 14 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -116,6 +116,9 @@ dotfiles:
 | 
			
		|||
  f_wslenablehypervforwarding:
 | 
			
		||||
    dst: ~/.bin/wslenablehypervforwarding
 | 
			
		||||
    src: bin/wslenablehypervforwarding
 | 
			
		||||
  f_wslshowhypervforwarding:
 | 
			
		||||
    dst: ~/.bin/wslshowhypervforwarding
 | 
			
		||||
    src: bin/wslshowhypervforwarding
 | 
			
		||||
  f_pu:
 | 
			
		||||
    dst: ~/.bin/pu
 | 
			
		||||
    src: bin/pu
 | 
			
		||||
| 
						 | 
				
			
			@ -148,6 +151,7 @@ profiles:
 | 
			
		|||
    - f_dotdrop.sh
 | 
			
		||||
    - f_wsladdhypervroute
 | 
			
		||||
    - f_wslenablehypervforwarding
 | 
			
		||||
    - f_wslshowhypervforwarding
 | 
			
		||||
  AINCRAD-wsl:
 | 
			
		||||
    dotfiles:
 | 
			
		||||
    - d_fonts
 | 
			
		||||
| 
						 | 
				
			
			@ -170,6 +174,7 @@ profiles:
 | 
			
		|||
    - f_dotdrop.sh
 | 
			
		||||
    - f_wsladdhypervroute
 | 
			
		||||
    - f_wslenablehypervforwarding
 | 
			
		||||
    - f_wslshowhypervforwarding
 | 
			
		||||
  yoetunheimr:
 | 
			
		||||
    dotfiles:
 | 
			
		||||
    - d_bspwm
 | 
			
		||||
| 
						 | 
				
			
			@ -199,6 +204,7 @@ profiles:
 | 
			
		|||
    - f_dotdrop.sh
 | 
			
		||||
    - f_wsladdhypervroute
 | 
			
		||||
    - f_wslenablehypervforwarding
 | 
			
		||||
    - f_wslshowhypervforwarding
 | 
			
		||||
  YOETUNHEIMR-wsl:
 | 
			
		||||
    dotfiles:
 | 
			
		||||
    - d_fonts
 | 
			
		||||
| 
						 | 
				
			
			@ -221,6 +227,7 @@ profiles:
 | 
			
		|||
    - f_dotdrop.sh
 | 
			
		||||
    - f_wsladdhypervroute
 | 
			
		||||
    - f_wslenablehypervforwarding
 | 
			
		||||
    - f_wslshowhypervforwarding
 | 
			
		||||
  ymir:
 | 
			
		||||
    dotfiles:
 | 
			
		||||
    - f_zshrc
 | 
			
		||||
| 
						 | 
				
			
			@ -240,6 +247,7 @@ profiles:
 | 
			
		|||
    - f_dotdrop.sh
 | 
			
		||||
    - f_wsladdhypervroute
 | 
			
		||||
    - f_wslenablehypervforwarding
 | 
			
		||||
    - f_wslshowhypervforwarding
 | 
			
		||||
  workspace:
 | 
			
		||||
    dotfiles:
 | 
			
		||||
    - d_fonts
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										6
									
								
								dotfiles/bin/wslshowhypervforwarding
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								dotfiles/bin/wslshowhypervforwarding
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,6 @@
 | 
			
		|||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
#
 | 
			
		||||
# This dotfile is managed using dotdrop
 | 
			
		||||
#
 | 
			
		||||
powershell.exe -ExecutionPolicy Bypass "Get-NetIPInterface | select ifIndex,InterfaceAlias,AddressFamily,ConnectionState,Forwarding | Sort-Object -Property IfIndex | Format-Table"
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue