Results 1 to 5 of 5

Thread: squid and dhcp

  1. #1
    Join Date
    Nov 2012
    Beans
    45

    squid and dhcp

    hi guyz, am a newbie of both ubuntu and squid3.... i have installed ubuntu server 12 with 2 NIC, for WAN & LAN and squid3, i dnt know how to configure the LAN to dish out dhcp i.p and connect transparently to my clients. The squid.conf has
    http_port 3128 transparent.
    i have to configure their browser manually in-order to connect to squid,
    can anyone help me?
    thanks

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: squid and dhcp

    Hi kanjah.

    Could you explain a little but about your network topology? That is, how your devices are connected to each other?

    Who is the DHCP server both in the WAN and the LAN? Is it the same Squid server?

    Could you post the result of these commands?
    Code:
    cat /etc/resolv.conf
    
    cat /etc/network/interfaces
    
    cat /proc/sys/net/ipv4/ip_forward
    
    route -n
    Regards.

  3. #3
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: squid and dhcp

    Didn't we just have this discussion in this thread? Didn't you say there that adding the iptables rule I suggested fixed this problem? So why are you asking the same thing again here?
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  4. #4
    Join Date
    Nov 2012
    Beans
    45

    Re: squid and dhcp

    thanks for the reply
    etc/resolve.conf
    nameserver 91.42.48.48
    nameserver 91.42.49.49


    etc/network/interface
    auto eth0
    iface eth0 static
    address 192.168.10.235
    netmask 255.255.255.0
    broadcastn192.168.10.225
    gateway 192.168.10.1

    auto eth1
    iface eth1 inet static
    address 198.168.1.2
    netmask 255.255.255.0
    broadcast 192.168.1.255

    proc/sys/net/ipv4/ip_forward is empty

  5. #5
    Join Date
    Nov 2012
    Beans
    45

    Re: squid and dhcp

    i did what you adviced and it worked and thankd you for it, now
    am using a wireless router to connect my clients, they cnt connect to squid, but if i connect one node to the lan it works well

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
  •