First of all thanks for the help, I'm trying to fix this problem for days
I know that is possible to route outbound traffic from a DigitalOcean droplet through its floating IP (a publicly-accessible static IP address that you can assign to a Droplet).
So, my droplet have 2 ip (regular and a floating ip) As suggested in this link https://www.digitalocean.com/community/questions/send-outbound-traffic-over-floating-ip, I found my droplet's "anchor IP" with
ip addr show eth0
I would like to make requests with python, using my IP as a proxy. I can do this? For example, something as:
import requests
proxies = {
'http': 'http://XX.XX.XX.XX:YY',
'https': 'http://XX.XX.XX.XX:YY',
}
# Create the session and set the proxies.
s = requests.Session()
s.proxies = proxies
# Make the HTTP request through the session.
r = s.get('https://www....')
XX.XX.XX.XX is my anchor ip
YY -> What port I have to use?
I have to add some rules to my Firewall (UFW) ?
Thanks in advance