0

There are websites like, "XYZ.com" and "ABC.com" and those websites can only be accessible with such a range of ip addresses.

We have public IP and using that third party website are accessible. (with only office premises we can access those website)

I have to develop a website (djangoproxy.com) in django so that I can access those third party websites from outside the public ip range. so i plan to access those website like, XYZ.djangoproxy.com, ABC.djangoproxy.com There is one condition, that access is based on only authenticated users. So I have to write code on djangoproxy.com for an authentic user. and after successfully login open a third party website in the same browser tab.

Had checked some python packages for vpn, https://gist.github.com/Lazza/bbc15561b65c16db8ca8

Reference: Python requests, change IP address

Can you guide me if this functionality can be developed using python code or any web-server configuration. I am using NGINX as a web-server to host djangoproxy.com.

i'm PosSible
  • 1,373
  • 2
  • 11
  • 30

1 Answers1

0

You can use django-revproxy for your purpose. Your Django server will sit between the client and the external website. You can add the authentication logic of Django and allow proxy for only authenticated clients.