HYPER-V activer sur Windows home

pushd "%~dp0"

dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt

for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"

del hyper-v.txt

Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL

pause

SMD

Résistances

0201 : longueur 0.6mm, largeur 0.3mm
0402 : longueur 1.0mm largeur 0.5mm
0603 : longueur 1.6mm largeur 0.8mm
0805 : longueur 2.0mm largeur 1.2mm
1206 : longueur 3.2mm largeur 1.6mm

IPTABLES NAT

192.168.1.20 lan sort sur internet par le wan xxx.xxx.xxx.xxx
iptables -t nat -A POSTROUTING -s 192.168.1.20/32 -o eth0 -j SNAT --to-source xxx.xxx.xxx.xxx

"xxx.xxx.xxx.xxx:3333 -> 192.168.1.12:3389
iptables -t nat -A PREROUTING -d xxx.xxx.xxx.xxx/32 -i eth0 -p tcp -m tcp --dport 3333 -j DNAT --to-destination 192.168.1.12:3389


"xxx.xxx.xxx.xxx -> plage de port
iptables -t nat -A PREROUTING -d xx.xxx.xxx.xxx/32 -i eth0 -p udp -m udp --dport 10000:20000 -j DNAT --to-destination 192.168.1.11:10000-20000