IPIPGO ip proxy How to use socks5 proxy for virtual machines?VMware and VirtualBox Configuration Methods

How to use socks5 proxy for virtual machines?VMware and VirtualBox Configuration Methods

Virtual Machine Proxy Settings Common Sense Friends engaged in virtual machine development should understand that sometimes the local network environment is not enough, you have to let the virtual machine to go through a specific proxy channel. Here is a key point of knowledge: virtual machine network mode selection NAT mode, the proxy settings to operate in the host; selection of bridge mode, the virtual ...

How to use socks5 proxy for virtual machines?VMware and VirtualBox Configuration Methods

Common sense for virtual machine proxy setup

For those of you who are involved in virtual machine development, you should know that sometimes the local network environment is not enough, so you have to let the virtual machine go through a specific proxy channel. Here's howKey knowledge points: Virtual Machine Network Mode SelectionNAT modeThe proxy settings are to be operated on the host computer when selecting theBridging Modewords, the VM itself will have to be paired with an agent.

Three Steps to VMware Configuration

Take the latest version of VMware17 as an example, first make sure the virtual machine is using NAT mode for networking. Open the host control panel → Network and Internet → Proxy Server Settings, where there is aTai Hang District, Hong Kong: The proxy settings that come with Windows may not work for VMware.


// Manual configuration method (recommended)
1. Install the Proxifier tool on the host computer. 2.
2. create a new proxy rule: select SOCKS5 for the type and fill in the proxy IP address provided by ipipgo (e.g. gateway.ipipgo.net:30001)
3. Add vmware-vmx.exe to the proxy list in the rule settings.

Caution! Remember to add these two commands in the terminal if you are running Linux in a virtual machine:


export ALL_PROXY=socks5://proxy IP:port
echo 'export ALL_PROXY=socks5://proxy IP:port' >> ~/.bashrc //Don't miss this parameter.

VirtualBox Special Handling Tips

VirtualBox's global proxy setup is a bit more cumbersome, and it is recommended to use theDual NIC Solution: The first NIC uses NAT to ensure basic networking, and the second NIC sets up Host-Only as a proxy-only channel.

When configuring within the VM, Windows users can just change the Internet options directly, Linux users should pay special attention to this configuration file:


sudo nano /etc/environment
// Add the following
http_proxy="socks5://username:password@proxyIP:port"
https_proxy="socks5://username:password@proxyIP:port"

QA High Frequency Questions Collection

Q: I can't connect to the Internet after configuring the proxy virtual machine?
A: First check if the proxy IP is valid, use curl -x socks5://IP:port http://ip.sb to test the connectivity. We recommend using ipipgo'sStatic Residential AgentsPackages with guaranteed stability.

Q: Do I need to open multiple VMs at the same time to go through different proxies?
A: In this case it is recommended to use ipipgo's Dynamic Residential (Enterprise Edition) package, which supports thesession holdfunction, each virtual machine is assigned an independent IP channel.

Proxy Services Selection Guide

For data collection based on real-world experienceDynamic residential (standard)The package is sufficient and the price is good (0.8 knife/GB). If you're doing cross-border e-commerce or something like that where you need a fixed IP, just go straight to theStatic homespackage, 500,000+ real residential IP pools are perfectly adequate.

Special reminder! Use ipipgo service remember to add authentication parameters in the code, their proxy address looks like this:
socks5://用户名:密码@gateway.ipipgo.net:30001
This username password can be generated in the user center and is not generic for each account independently.

As a final word of caution, after setting up the VM proxy remember to use theipinfo.ioThese sites check to see if the IP is working. If you find that the IP address is still the local address, it is likely that the proxy is not configured successfully, it is recommended to look back at the second step of the Proxifier settings, that tool is troublesome but it does work.

This article was originally published or organized by ipipgo.https://www.ipipgo.com/en-us/ipdaili/47848.html

business scenario

Discover more professional services solutions

💡 Click on the button for more details on specialized services

新春惊喜狂欢,代理ip秒杀价!

Professional foreign proxy ip service provider-IPIPGO

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact Us

13260757327

Online Inquiry. QQ chat

E-mail: hai.liu@xiaoxitech.com

Working hours: Monday to Friday, 9:30-18:30, holidays off
Follow WeChat
Follow us on WeChat

Follow us on WeChat

Back to top
en_USEnglish