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? |
|
I googled a bit more and found out that apt-mirror actually mirrors changes from the source repo, some sort of rsync.
So , adding a cronjob once a day to execute the command "apt-mirror" would keep the local mirror repo up-to-date |
All times are GMT -5. The time now is 02:22 PM. |