π§ One-Click Chromium Docker on VPS
Run a full-featured Chromium browser securely inside Docker on any VPS with just one script.
Access it from your browser with VNC-over-web and login authentication.
- π Secure browser access via password
- π³ Docker + Docker Compose auto-installed
- π₯ UFW Firewall auto-configured (only required ports allowed)
- π Access Chromium from anywhere (web-based UI)
- π» SSH remains open on port
22
-
SSH into your VPS
-
Install Dependencies
sudo apt update && sudo apt install curl -y
- Download and run the script:
bash <(curl -sL https://raw.githubusercontent.com/CodeDialect/chrome-linuxserver/main/setup_chromium.sh)
-
SSH into your VPS
-
Install Dependencies
sudo apt update && sudo apt install curl -y
- Download and run the script:
bash <(curl -sL https://raw.githubusercontent.com/CodeDialect/chrome-linuxserver/main/multi_chromium.sh)
You will be asked for a username and password use these later to log in to the browser interface.
After the script completes, open this URL in your browser:
http://<your-vps-ip>:4100
Login with the username/password you provided.
Port | Purpose |
---|---|
4100 | Web-based Chromium UI |
4101 | Internal VNC socket |
22 | SSH (still open) |
- UFW is auto-enabled with only ports 22, 4100, and 4101 allowed.
- To change allowed IPs, edit UFW:
ufw allow from <your-ip> to any port 4100
- Ubuntu/Debian-based VPS
- Root access
π¬ Questions? Join Telegram