Answer the question
In order to leave comments, you need to log in
How to forward an external IP address to an internal computer?
Good afternoon, luminaries
The essence of the problem: there is a computer with a malicious program on it, with which clients communicate via a white IP. The harmfulness of this program is that as soon as it sees a change in the IP address on the network card, it immediately sends this IP to all clients (and they start sending requests to the server already at this address). As long as the computer is connected directly to the Internet, everything works fine, but as soon as this computer is behind a router with NAT (well, this is how life circumstances developed) .... how the program sees the internal ip and joyfully sends it to all clients with all the consequences ... Unfortunately to intervene in the logic of the program and clients is not possible - they can only do what they can.
Question: How can the white ip that the router receives from the provider be transferred to the computer's network card? I thought a lot about port forwarding, in my opinion this is not the right solution, because. it is not enough to send traffic to the card, you need the program to see the white ip.
PS I hope that this can be implemented using some small piece of hardware (Mikrotik)
Answer the question
In order to leave comments, you need to log in
You need to set up your router. It must translate addresses + ports in both directions. Not all routers can do this.
If the address is sent through the data field, then you must also change them on the router. A custom firmware or driver will help with this.
If there are not very many clients, you can try to organize a VPN and put the computer with the program and those who need it on the same subnet. True, again, it is not known which address the program will take and send, from the VPN range or the one that the local router assigns.
Every program works with ports - forwarding. The question is that you probably do not know what to forward?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question