Menu

Error: Could not lookup host (-1)

Help
Kirill
2019-11-02
2019-11-07
  • Kirill

    Kirill - 2019-11-02

    They sent the following connection parameters:
    three certificates
    VPN type: SSTP
    Require encryption
    CHAP and MS-CHAP-V2
    Disable ipv6 and default gateway

    Wrote this command:
    sudo /usr/local/sbin/sstpc --user 'DOMAIN\someuser' --password 123456
    --ca-path /Users/user/Documents/work/vpn/ --nolaunchpppd --log-level 4
    vpn.company.ru debug require-chap require-mschap-v2 defaultroute refuse-eap
    useperdns noauth

    I get this error: **Error: Could not lookup host: `vpn.company.ru', (-1)
    This may be somehow due to the fact that the VPN server does not respond to
    icmp requests (ping). Is there any way around this?

     

    Last edit: Kirill 2019-11-03
    • Eivind

      Eivind - 2019-11-03

      What do you get if you try to run "nslookup vpn.company.ru"?- Eivind

       lørdag 2. november 2019, 08:16:12 PDT skrev Kirill <kvinokurov@users.sourceforge.net> følgende:
      

      They sent the following connection parameters:
      three certificates
      VPN type: SSTP
      Require encryption
      CHAP and MS-CHAP-V2
      Disable ipv6 and default gateway

      Wrote this command:
      sudo /usr/local/sbin/sstpc --user 'DOMAIN\someuser' --password 123456
      --ca-path /Users/user/Documents/work/vpn/ --nolaunchpppd --log-level 4
      vpn.company.ru debug require-chap require-mschap-v2 defaultroute refuse-eap
      useperdns noauth

      I get this error: **Error: Could not lookup host: `vpn.company.ru', (-1)
      This may be somehow due to the fact that the VPN server does not respond to
      icmp requests (ping). Is there any way around this?

      --
      С уважением,
      Винокуров Кирилл
      Вячеславович

      Error: Could not lookup host (-1)

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/sstp-client/discussion/1499218/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • Kirill

    Kirill - 2019-11-05

    ** server can't find vpn.company.ru: NXDOMAIN

    There are maniacs administrators. Even all internal servers do not respond to ping.
    Can I somehow disable ping checking in sstpc?

     
    • Eivind

      Eivind - 2019-11-05

      The sstpc client isn't able to resolve the address you gave it. Is "vpn.company.ru" the actual domain your administrators told you to connect to? You'll probably have better luck trying an address that the domain controller will resolve.

      ** server can't find vpn.company.ru: NXDOMAIN

      There are maniacs administrators. Even all internal servers do not respond to ping.
      Can I somehow disable ping checking in sstpc?

      Error: Could not lookup host (-1)

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/sstp-client/discussion/1499218/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • Kirill

    Kirill - 2019-11-07

    From windows 10 it connects normally, but for the sake of VPN you have to start a heavy virtual machine.

     
    • Eivind

      Eivind - 2019-11-07

      What if you follow the instructions here to find your windows machine's DNS server addresses:

      https://www.groovypost.com/howto/find-windows-10-device-ip-address/

      To check if you can resolve this address on your Mac / Linux box, you use nslookup:
      nslookup <server-address> <dns-server>
      If this works, then you can add the server into your machine's list of dns server to use.
      - Eivind</dns-server></server-address>

       torsdag 7. november 2019, 12:00:23 PST skrev Kirill <kvinokurov@users.sourceforge.net> følgende:
      

      From windows 10 it connects normally, but for the sake of VPN you have to start a heavy virtual machine.

      Error: Could not lookup host (-1)

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/sstp-client/discussion/1499218/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

Log in to post a comment.