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
It relies on netsh utility availability in order to perform that.
netsh interface portproxy delete v4tov4 listenport=1111 listenaddress=192.168.2.1 netsh interface portproxy add v4tov4 listenport=1111 listenaddress=192.168.2.1 connectport=2222 connectaddress=my.host.com
1111- port to listen to on Virtualbox host-bridge interface
192.168.2.1- Netsh commands for Interface IP address
2222- port to redirect to
my.host.com- the fqdn address to redirect traffic to