HTTP Redirect from Domain Controller

Source: http://blogs.catapultsystems.com/chsimmons/archive/2015/04/08/domain-controller-http-redirect/

To enable the proxy (or forward)

netsh interface portproxy add v4tov4 listenport=80 connectaddress=www.domain.com connectport=80 protocol=tcp
or
netsh interface portproxy add v4tov4 listenport=80 connectaddress=IP.ADDRESS connectport=80 protocol=tcp

 

To see the forwarder(s)

netsh interface portproxy show all

 

To delete the forwarders

netsh interface portproxy delete v4tov4 listenport=80

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top