DANTED SERVER v1.1.19 - Error configuration sock5 on ubuntu












1















i have follow this tutorial dante sock5 configuration and i have a strange error.



Below are my danted.conf file :



# /etc/danted.conf

logoutput: syslog
user.privileged: root
user.notprivileged: nobody

# The listening network interface or address.
internal: 0.0.0.0 port=1080

# The proxying network interface or address.
external: eth0

# socks-rules determine what is proxied through the external interface.
# The default of "none" permits anonymous access.
socksmethod: username

# client-rules determine who can connect to the internal interface.
# The default of "none" permits anonymous access.
clientmethod: none

client pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect disconnect error
}
socks pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect disconnect error
}


when i start the dante service i have this error message :



Starting Dante SOCKS daemon: Nov 21 13:38:09 (1542803889) danted[21175]: /etc/danted.conf: error on line 15, near 's': syntax error


the error is localised on the line "socksmethod: username".



i dont know how to resolve it ....i dont even know where to start my investigation...



[NOW]



I have resolved configuration error, below my config file



# /etc/danted.conf

logoutput: syslog
user.privileged: root
user.notprivileged: nobody

# The listening network interface or address.
internal: 0.0.0.0 port=1080

# The proxying network interface or address.
external: eth0

# socks-rules determine what is proxied through the external interface.
# The default of "none" permits anonymous access.
method: username

# client-rules determine who can connect to the internal interface.
# The default of "none" permits anonymous access.
method: none

socks pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect disconnect error
}


but now my connection is refused



curl -v -x socks5://login:password@ip_adress:1080 http://www.google.com/
* Trying XX.XX.YYY.ZZZ...
* TCP_NODELAY set
* connect to XX.XX.YYY.ZZZ port 1080 failed: Connection refused
* Failed to connect to XX.XX.YYY.ZZZport port 1080: Connection refused
* Closing connection 0
curl: (7) Failed to connect to XX.XX.YYY.ZZZport port 1080: Connection refused


my firewall is totally opened !!



for the moment i did not understand why there are "client pass" and "socks pass" ....



maybe the error is there !



Please help !!



Thanks all !










share|improve this question





























    1















    i have follow this tutorial dante sock5 configuration and i have a strange error.



    Below are my danted.conf file :



    # /etc/danted.conf

    logoutput: syslog
    user.privileged: root
    user.notprivileged: nobody

    # The listening network interface or address.
    internal: 0.0.0.0 port=1080

    # The proxying network interface or address.
    external: eth0

    # socks-rules determine what is proxied through the external interface.
    # The default of "none" permits anonymous access.
    socksmethod: username

    # client-rules determine who can connect to the internal interface.
    # The default of "none" permits anonymous access.
    clientmethod: none

    client pass {
    from: 0.0.0.0/0 to: 0.0.0.0/0
    log: connect disconnect error
    }
    socks pass {
    from: 0.0.0.0/0 to: 0.0.0.0/0
    log: connect disconnect error
    }


    when i start the dante service i have this error message :



    Starting Dante SOCKS daemon: Nov 21 13:38:09 (1542803889) danted[21175]: /etc/danted.conf: error on line 15, near 's': syntax error


    the error is localised on the line "socksmethod: username".



    i dont know how to resolve it ....i dont even know where to start my investigation...



    [NOW]



    I have resolved configuration error, below my config file



    # /etc/danted.conf

    logoutput: syslog
    user.privileged: root
    user.notprivileged: nobody

    # The listening network interface or address.
    internal: 0.0.0.0 port=1080

    # The proxying network interface or address.
    external: eth0

    # socks-rules determine what is proxied through the external interface.
    # The default of "none" permits anonymous access.
    method: username

    # client-rules determine who can connect to the internal interface.
    # The default of "none" permits anonymous access.
    method: none

    socks pass {
    from: 0.0.0.0/0 to: 0.0.0.0/0
    log: connect disconnect error
    }


    but now my connection is refused



    curl -v -x socks5://login:password@ip_adress:1080 http://www.google.com/
    * Trying XX.XX.YYY.ZZZ...
    * TCP_NODELAY set
    * connect to XX.XX.YYY.ZZZ port 1080 failed: Connection refused
    * Failed to connect to XX.XX.YYY.ZZZport port 1080: Connection refused
    * Closing connection 0
    curl: (7) Failed to connect to XX.XX.YYY.ZZZport port 1080: Connection refused


    my firewall is totally opened !!



    for the moment i did not understand why there are "client pass" and "socks pass" ....



    maybe the error is there !



    Please help !!



    Thanks all !










    share|improve this question



























      1












      1








      1








      i have follow this tutorial dante sock5 configuration and i have a strange error.



      Below are my danted.conf file :



      # /etc/danted.conf

      logoutput: syslog
      user.privileged: root
      user.notprivileged: nobody

      # The listening network interface or address.
      internal: 0.0.0.0 port=1080

      # The proxying network interface or address.
      external: eth0

      # socks-rules determine what is proxied through the external interface.
      # The default of "none" permits anonymous access.
      socksmethod: username

      # client-rules determine who can connect to the internal interface.
      # The default of "none" permits anonymous access.
      clientmethod: none

      client pass {
      from: 0.0.0.0/0 to: 0.0.0.0/0
      log: connect disconnect error
      }
      socks pass {
      from: 0.0.0.0/0 to: 0.0.0.0/0
      log: connect disconnect error
      }


      when i start the dante service i have this error message :



      Starting Dante SOCKS daemon: Nov 21 13:38:09 (1542803889) danted[21175]: /etc/danted.conf: error on line 15, near 's': syntax error


      the error is localised on the line "socksmethod: username".



      i dont know how to resolve it ....i dont even know where to start my investigation...



      [NOW]



      I have resolved configuration error, below my config file



      # /etc/danted.conf

      logoutput: syslog
      user.privileged: root
      user.notprivileged: nobody

      # The listening network interface or address.
      internal: 0.0.0.0 port=1080

      # The proxying network interface or address.
      external: eth0

      # socks-rules determine what is proxied through the external interface.
      # The default of "none" permits anonymous access.
      method: username

      # client-rules determine who can connect to the internal interface.
      # The default of "none" permits anonymous access.
      method: none

      socks pass {
      from: 0.0.0.0/0 to: 0.0.0.0/0
      log: connect disconnect error
      }


      but now my connection is refused



      curl -v -x socks5://login:password@ip_adress:1080 http://www.google.com/
      * Trying XX.XX.YYY.ZZZ...
      * TCP_NODELAY set
      * connect to XX.XX.YYY.ZZZ port 1080 failed: Connection refused
      * Failed to connect to XX.XX.YYY.ZZZport port 1080: Connection refused
      * Closing connection 0
      curl: (7) Failed to connect to XX.XX.YYY.ZZZport port 1080: Connection refused


      my firewall is totally opened !!



      for the moment i did not understand why there are "client pass" and "socks pass" ....



      maybe the error is there !



      Please help !!



      Thanks all !










      share|improve this question
















      i have follow this tutorial dante sock5 configuration and i have a strange error.



      Below are my danted.conf file :



      # /etc/danted.conf

      logoutput: syslog
      user.privileged: root
      user.notprivileged: nobody

      # The listening network interface or address.
      internal: 0.0.0.0 port=1080

      # The proxying network interface or address.
      external: eth0

      # socks-rules determine what is proxied through the external interface.
      # The default of "none" permits anonymous access.
      socksmethod: username

      # client-rules determine who can connect to the internal interface.
      # The default of "none" permits anonymous access.
      clientmethod: none

      client pass {
      from: 0.0.0.0/0 to: 0.0.0.0/0
      log: connect disconnect error
      }
      socks pass {
      from: 0.0.0.0/0 to: 0.0.0.0/0
      log: connect disconnect error
      }


      when i start the dante service i have this error message :



      Starting Dante SOCKS daemon: Nov 21 13:38:09 (1542803889) danted[21175]: /etc/danted.conf: error on line 15, near 's': syntax error


      the error is localised on the line "socksmethod: username".



      i dont know how to resolve it ....i dont even know where to start my investigation...



      [NOW]



      I have resolved configuration error, below my config file



      # /etc/danted.conf

      logoutput: syslog
      user.privileged: root
      user.notprivileged: nobody

      # The listening network interface or address.
      internal: 0.0.0.0 port=1080

      # The proxying network interface or address.
      external: eth0

      # socks-rules determine what is proxied through the external interface.
      # The default of "none" permits anonymous access.
      method: username

      # client-rules determine who can connect to the internal interface.
      # The default of "none" permits anonymous access.
      method: none

      socks pass {
      from: 0.0.0.0/0 to: 0.0.0.0/0
      log: connect disconnect error
      }


      but now my connection is refused



      curl -v -x socks5://login:password@ip_adress:1080 http://www.google.com/
      * Trying XX.XX.YYY.ZZZ...
      * TCP_NODELAY set
      * connect to XX.XX.YYY.ZZZ port 1080 failed: Connection refused
      * Failed to connect to XX.XX.YYY.ZZZport port 1080: Connection refused
      * Closing connection 0
      curl: (7) Failed to connect to XX.XX.YYY.ZZZport port 1080: Connection refused


      my firewall is totally opened !!



      for the moment i did not understand why there are "client pass" and "socks pass" ....



      maybe the error is there !



      Please help !!



      Thanks all !







      ubuntu






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 26 '18 at 8:50







      kusdy_laravel

















      asked Nov 21 '18 at 12:42









      kusdy_laravelkusdy_laravel

      63




      63
























          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53412291%2fdanted-server-v1-1-19-error-configuration-sock5-on-ubuntu%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53412291%2fdanted-server-v1-1-19-error-configuration-sock5-on-ubuntu%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Guess what letter conforming each word

          Port of Spain

          Run scheduled task as local user group (not BUILTIN)