Enable Packet Forward dalam windows 10 via powershell

 lihat status interface:

Get-NetIPInterface | select ifIndex,InterfaceAlias,AddressFamily,ConnectionState,Forwarding | Sort-Object -Property IfIndex | Format-Table    


Activate/Enable Forwarding:
Set-NetIPInterface -ifindex <required interface index from table> -Forwarding Enabled

Dan wajib start service Remote Access(utk NAT kan packet yg keluar)
Set-Service RemoteAccess -StartupType Automatic; Start-Service RemoteAccess



rujukan:
https://serverfault.com/questions/929081/how-can-i-enable-packet-forwarding-on-windows

Comments

Popular posts from this blog

snat vs masquerade

test ssl connection