LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2015, 08:10 AM   #1
tripialos
Member
 
Registered: Apr 2012
Posts: 163

Rep: Reputation: Disabled
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?
 
Old 06-17-2015, 01:29 AM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Arch & Debian
Posts: 1,183

Rep: Reputation: 283Reputation: 283Reputation: 283
You could try the new Debian redirector.

http://http.debian.net/
 
Old 06-18-2015, 09:24 AM   #3
tripialos
Member
 
Registered: Apr 2012
Posts: 163

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Run your own repository with Apt-Mirror LXer Syndicated Linux News 0 03-07-2014 07:40 PM
Building a Debian Wheezy/Ubuntu Precise Mirror using apt-mirror bennetfox Linux - Server 16 02-23-2013 03:56 PM
[SOLVED] Problems with Debootstrap and apt-mirror-based Debian mirror lil_drummaboy Debian 3 06-22-2010 06:12 PM
LXer: Create a Local Ubuntu Repository using Apt-Mirror and Apt-Cacher LXer Syndicated Linux News 0 08-04-2009 10:13 PM
LXer: How To Create A Local Debian/Ubuntu Mirror With apt-mirror LXer Syndicated Linux News 0 01-04-2007 05:33 PM


All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration