Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have asp.net application which executes 3rd party link/URL internally. And that 3rd Party server accepts only one IP address so if I added my machine IP to that 3rd party server then its work but if I access that application from another machine then it is not working.
I have 100 users and they are accessing the same link from different machine and location so they have the different IP address and they want to access that link but its not possible at this moment because of 3rd party restriction.

so what kind configuration I have to so that my web server can pass that request to 3rd party server with one IP or with web server IP?

What I have tried:

so what kind configuration I have to so that my web server can pass that request to 3rd party server with one IP or with web server IP?
Posted
Updated 21-Aug-18 9:04am
v2
Comments
ZurdoDev 10-Aug-18 16:08pm    
1. Find a new 3rd party.
2. Is everyone in the same building? If it's a public IP, they'll all likely have the same IP.
Amol Sagvekar 10-Aug-18 16:10pm    
1st option is not valid.
no, they have different IP
ZurdoDev 10-Aug-18 16:14pm    
Then you have to get a proxy in the middle so that everyone has the same IP. I'm not really sure what you want us to do.
Amol Sagvekar 10-Aug-18 16:21pm    
Using client As New WebClient()
Dim bResp As Byte() = client.DownloadData(cUrl)
Response.BinaryWrite(bResp)





I have this code, its work from my machine but it will not work from your machine as your IP address is not configured on this server.

I will ask 3rd party to add my web server Ip to their firewall list, and I have to do something at my side so that all user can access this application via web server IP
ZurdoDev 10-Aug-18 16:28pm    
Yes, you already explained this. But what do you want us to do? This is not a code issue. You have a logistics and 3rd party issue. How can we help?

What you're doing is a) probably in breach of the third party license - if they wanted you to do this you could contact them and they would allow it b) not technically possible if you use TCP - you can't spoof TCP which is effectively what you're looking to do.

People use IP restrictions for security reasons and they would be useless if you could just circumvent them.
 
Share this answer
 
I used proxy concept to fix this issue and its working.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900