dante server config issue

Discussion in 'Installation/Configuration' started by dpreviti, Dec 14, 2009.

  1. dpreviti

    dpreviti New Member

    Hello all,

    Newbie to the group and linux so please be gentle. I am trying to get dante up and can't seem to get any love. I want to set up a simple socks proxy which I will wrap in either openssh or putty.

    the Dante log looks like dante starts up with no errors but when I go to connect from the box I get a connection refused error. My dante.conf is:

    #Where are we going to log all those useful error messages?
    logoutput: /var/log/dante.log

    #What ip and port should Dante listen on,
    # since I am only going to be using this via SSH
    #I only want to allow connections over the loopback
    internal: 127.0.0.1 port = 8080

    #Bind to the eth0 interface
    external: eth0

    #Since I am only accepting connections over the loopback,
    # the only people that COULD connect
    # would already be authenticated,
    # no need to have dante authenticate also
    method: username none

    #Which unprivileged user will Dante impersonate if need-be?
    user.notprivileged: nobody

    # Who can access this proxy?
    # Accept only connections from the loopback, all ports
    client pass {
    from: 127.0.0.1/0 port 1-65535 to: 0.0.0.0/0
    }

    #Block all other connection attempts
    client block {
    from: 0.0.0.0/0 to: 0.0.0.0/0
    log: connect error
    }

    # Once connected, where can they go?
    block {
    from: 0.0.0.0/0 to: 127.0.0.0/8
    log: connect error
    }

    #Pass from the internal IP to anywhere
    pass {
    from: 127.0.0.1/0 to: 0.0.0.0/0
    protocol: tcp udp
    }

    #Pass from the loopback going anywhere
    pass {
    from: 127.0.0.0/8 to: 0.0.0.0/0
    protocol: tcp udp
    }

    # Block everything else
    block {
    from: 0.0.0.0/0 to: 0.0.0.0/0
    log: connect error
    }


    TIA

    DP
     

Share This Page