You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working in a Windows environment and need to alter how a server perceives client IP addresses. My goal is to make an existing server program see a specific IP address when it tries to access a client's Remote Address.
Current setup:
I plan to use a TCP proxy with Proxy Protocol V2.
This causes the server to recognize client IPs as 127.0.0.1.
Desired scenario:
Client connects
TCP proxy (using Proxy Protocol V2) handles the connection
My custom server or WinDivert parses this to extract the real IP
This information is passed to the main server
The challenge:
Make the main server receive the real client IP instead of 127.0.0.1.
Important note:
The main server is a pre-compiled executable without source code, so rebuilding is not an option.
Question:
Is it possible to use WinDivert to intercept and modify the perceived client IP addresses for this Windows TCP server? If so, how can this be implemented?
Any insights or alternative approaches would be greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered:
I'm working in a Windows environment and need to alter how a server perceives client IP addresses. My goal is to make an existing server program see a specific IP address when it tries to access a client's Remote Address.
Current setup:
I plan to use a TCP proxy with Proxy Protocol V2.
This causes the server to recognize client IPs as 127.0.0.1.
Desired scenario:
Client connects
TCP proxy (using Proxy Protocol V2) handles the connection
My custom server or WinDivert parses this to extract the real IP
This information is passed to the main server
The challenge:
Make the main server receive the real client IP instead of 127.0.0.1.
Important note:
The main server is a pre-compiled executable without source code, so rebuilding is not an option.
Question:
Is it possible to use WinDivert to intercept and modify the perceived client IP addresses for this Windows TCP server? If so, how can this be implemented?
Any insights or alternative approaches would be greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered: