Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (19 sloc) 943 Bytes

Virtualbox / Win / Port forwarding

Recently I helped out a team which used Win + Virtualbox to manage certain legacy system in isolation.

This is where I've discovered a windows iptables alternative how to effectively perform port forwarding between Win7 Host and Virtualbox host-bridge network.

It relies on netsh utility availability in order to perform that.

netsh interface portproxy delete v4tov4 listenport=1111 listenaddress=
netsh interface portproxy add v4tov4 listenport=1111 listenaddress= connectport=2222


  • 1111 - port to listen to on Virtualbox host-bridge interface
  • - Netsh commands for Interface IP address
  • 2222 - port to redirect to
  • - the fqdn address to redirect traffic to