pi hotspot

January 3, 2024, 18:09

omrs

So I’m thinking of making a hotspot that connects to a list of proxies I want to specify more than one proxy if possible Does anyone have an idea on how to do it

omrs

Also can I use this with a pi5

omrs

It probably won’t hurt but I’m just paranoid

oops.se

Does it support PD (Power Delivery) 5 volt / 5 Amp?

omrs

How can I tell if it does

oops.se

Datasheet, internet google on the model number = Investigate and look for PD or Power Delivery.

omrs

It can do 5v 3a

omrs

Anyone can help with the hotspot

k9t33n

needs 5v 5a

k9t33n

you want the pi to have it's own hotspot or connect to one?

omrs

Its own

omrs

Read the first msg

k9t33n

yeah i just was unclear

omrs

So when you connect to the hotspot it will automatically connect to the proxy chain

k9t33n

never heard of a hotspot from a pi, ill do some reasearch for you. then ill get back to you. i might be a while because i have my own projects to do

omrs

Alr thx

coshi75

Certainly! If you're thinking of creating a hotspot with a Raspberry Pi that connects to a list of proxies, you can use your Raspberry Pi as a Wi-Fi access point and configure routing through a list of proxies. Here's a general approach you could follow: 1. Wi-Fi Access Point Setup: - Install and configure the necessary software to turn your Raspberry Pi into a Wi-Fi hotspot. You can use, for example, hostapd and dnsmasq for this purpose. 2. Routing Configuration: - Enable IPv4 packet forwarding on the Raspberry Pi. You can do this by running the command:
     sudo sysctl -w net.ipv4.ip_forward=1
     
To make this change permanent, open the /etc/sysctl.conf file and ensure the following line is present and uncommented:
     net.ipv4.ip_forward=1
     
3. Proxy Configuration: - Install proxy software on the Raspberry Pi. You can use, for example, squid or another proxy of your choice. Configure the proxy with the list of your proxy servers. 4. Routing Through Proxies: - Set up routing rules to route traffic through the proxies. You can use iptables for this purpose. For example:
bash
     sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination PROXY_IP:PROXY_PORT
     
- Make sure to customize PROXY_IP and PROXY_PORT with the details of your proxy server. 5. Testing: - Connect devices to your Wi-Fi hotspot and verify if the traffic goes through the configured proxies. Remember to consider security and legality when using proxies, and ensure you have consent to use the specified proxies.