up-to-date mirror apt repository
Issue: I am configuring my home server (debian wheezy) and trying to add some extra security by filtering also the OUTGOING traffic with iptables.
When i add the fqdn of debian repo to iptables this is resolved by iptables and the ip is used. However, noticed that the fqdn of deb repo does not always resolve to the same ip address.
I was thinking to make some sort of "proxy - repo" server that my machine will will head there to perform apt tasks.
I googled around and i found about mirroring a repo however this is the case where you want to bandnwith saving and keep persistent packages.
What i want is this mirror of the repo to be able to be up-to-date with the original repo.
Is that possible?