port forwarding in windows

前端 未结 3 796
太阳男子
太阳男子 2020-11-28 16:52

I have two network board in my pc:

The main one has the local ip -> 192.168.1.111 The secondary ones has the local ip -> 192.168.0.200

The main one has inter

3条回答
  •  春和景丽
    2020-11-28 17:46

    I've solved it, it can be done executing:

    netsh interface portproxy add v4tov4 listenport=4422 listenaddress=192.168.1.111 connectport=80 connectaddress=192.168.0.33
    

    To remove forwarding:

    netsh interface portproxy delete v4tov4 listenport=4422 listenaddress=192.168.1.111
    

    Official docs

提交回复
热议问题