Results 1 to 2 of 2

Thread: error while "apt-get install" through gateway

  1. #1
    Join Date
    Nov 2008
    Beans
    1

    error while "apt-get install" through gateway

    I have installed ubuntu 8.04 server. The PC is behind the gateway protected with firewall, blocking all the downloads. I am new to linux and would like to get information about the configurations used by apt.

    To configure the NAT in the gateway, for allowing the upgrade and installations through apt in my ubuntu server What are the urls and the port numbers that has tobe configured in the NAT of the gateway.

    The PC bypasses the proxy machine and the pc is configured with a static IP currently.

    When I looked into the /etc/apt/sources.list and I have the following urls are available
    http://us.archive.ubuntu.com/ubuntu
    http://archive.canonical.com/ubuntu
    http://security.ubuntu.com/ubuntu

    Can these urls be configured in NAT. Is there any specific port used by apt.

  2. #2
    Join Date
    Oct 2008
    Beans
    72

    Re: error while "apt-get install" through gateway

    http uses port 80. You can set up some firewall rules to allow these sites.

    Normally port 80 is open so that you can use web browsers.
    Abit NForce2 | Athlon XP 2000+ | 1G RAM | ATI 9600GT | | Ubuntu 8.10

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •