Skip to content

Is it possible to use single apt-proxy instance for multiple base sources? #34

@rwjack

Description

@rwjack

Hi, I'm trying to migrate from apt-cacher-ng, to apt-proxy, but I can't seem to get it working with regular debian repos, and xcp-ng centos repos.

To start with debian:

apt-proxy --mode=debian --debian=http://deb.debian.org/debian/ --debian=http://security.debian.org/debian-security/
2025/11/25 13:44:09 using specified [Debian] mirror [http://security.debian.org/debian-security/]
2025/11/25 13:44:09 starting apt-proxy
2025/11/25 13:44:09 listening on 0.0.0.0:3142
2025/11/25 13:44:09 server started successfully 🚀

^ The above just uses the last defined repo (security.debian.org) in this case. How do I get it to cache from both?

Also, does apt-proxy have a passthrough feature? For example, in my outbound squid proxy I only allow outbound access to debian repos and gitlab, only for the apt-proxy host, and then I point every other local host to apt-proxy - So can apt-proxy do this "proxying" feature, same as apt-cacher-ng?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions