Forum Discussion

willymcc420's avatar
willymcc420
Just browsing
2 years ago

Port forwarding

In the past i had two PC's in my house both going to the same local port but with both using different external ports. I had no problems setting this up then. But recently i was trying to set this up again but i kept getting a "The rule is overlapping" notification while trying to add the second device.

I'm using the same Virgin Hub 5 that it was previously working on, so was wondering if there is anything i can do to try and get this working again

  • Here is an example:

     

    netsh interface portproxy reset

    netsh interface portproxy add v4tov4 listenaddress={Device1IP} listenport={Device1Port} connectaddress={Device2IP} connectport={Device2Port}

    REM Example:

    REM netsh interface portproxy add v4tov4 listenaddress=192.168.0.123 listenport=10050 connectaddress=192.168.0.124 connectport=10051

     

    The above can be added to a batch file, then setup on a Windows Scheduled Task (These settings are 'lost' each time you reboot!). Just make sure the Windows firewall has the relevant ports open!

  • legacy1's avatar
    legacy1
    Alessandro Volta

    Just buy a better router that supports this

    VM do take a away stuff from the hubs that some need to use. 

  • holmestm's avatar
    holmestm
    On our wavelength

    I have the exact same problem with my new Hub 5. Two Raspberry Pi both listening on 22 for SSH, want to set up external port say 2022 to route to second pi. Could do this on my previous hub, but get the same overlapping validation error message as you. Obviously various ways to work around this, but really want this kind of thing to be rock solid from a security point of view.