- Confirm Privoxy Configuration on Windows 11
- Find the IP Address of Your Windows Host
- Configure Ubuntu in VirtualBox to Use the Proxy
Confirm Privoxy Configuration on Windows 11
The first step is to configure Privoxy to listen on all network interfaces:
Open the Privoxy configuration file, typically located at C:\Program Files\Privoxy\config
, find the listen-address
directive and modify it to:
1 | listen-address 0.0.0.0:8118 |
This configuration will make Privoxy accessible from any IP address on your network, including your VirtualBox Ubuntu guest.
Then allow Privoxy Port through Windows Firewall, open Windows Defender Firewall settings, ensure that port 8118
(the default port for Privoxy) is allowed for inbound connections.
Find the IP Address of Your Windows Host
Find your Windows IP address by running the following command:
1 | ipconfig |
Look for the IPv4 Address under the network adapter you are using. For example, it might be 192.168.1.100
.
Configure Ubuntu in VirtualBox to Use the Proxy
Open Ubuntu in VirtualBox and set up the system proxy, go to Settings > Network > Network Proxy. Choose Manual and enter the following information:
- HTTP Proxy:
http://192.168.1.100:8118
- HTTPS Proxy:
http://192.168.1.100:8118
- FTP Proxy:
http://192.168.1.100:8118
Then apply the settings.