Re: [Sstp-client-devel] Using sstp-client on OpenSuse 12.1
Brought to you by:
eivnaes
From: Chaitanya K. <ic...@gm...> - 2011-12-22 14:30:28
|
Just a small correction. The line step 3. above should have read name northgate.tyndall.ie\\ck.ande # Specifies the DOMAIN and USER instead of name northgate.tyndall.ie\\chaitanya.ande # Specifies the DOMAIN and USER Best, Chai On Thu, Dec 22, 2011 at 3:28 PM, Chaitanya Krishna <ic...@gm...>wrote: > Hello there, > > I have been trying to use sstp-client to connect to a server which needs > me to connect using sstp. I tried to follow the instructions in the READE > and in USING but without success. > > If I succeed in using sstp-client to connect to my server, I can write a > small tutorial on using sstp-client. > > This is essentially what I need to do. > server_to_connect_to: northgate.tyndall.ie > user_name: ck.ande > password: pass123 > > This is what I have done on my system. > > 1. configure && make && make install && sudo ldconfig > > 2. sudo cat /etc/ppp/chap-secrets > # Secrets for authentication using CHAP > # client server secret IP addresses > > # OUTBOUND CONNECTIONS > # Here you should add your PPP Login and PPP password to connect to your > # provider via pap. The * means that the entry(login and passoword may be > # used for ANY host you connect to. > # Thus you do not have to worry about the foreign machine name. Just > # replace password with your password. > #hostname * password > northgate.tyndall.ie\\ck.ande tyndall pass123 > > # PREDIFINED CONNECTIONS > # These are user and password entries for publically accessible > call-by-call > # Internet providers in Germany. If they confict with your config, remove > them. > # READ_IN_CALLBYCALL_SECRETS > > # INBOUND CONNECTIONS > #client hostname <password> 192.168.1.1 > > 3. sudo cat /etc/ppp/peers/tyndall > > remotename tyndall # Used in ip up/down scripts > linkname tyndall # Used in ip up/down scripts > ipparam tyndall # Used in ip up/down scripts > name northgate.tyndall.ie\\chaitanya.ande # Specifies the > DOMAIN and USER > plugin sstp-pppd-plugin.so # REQUIRED (SSTP) > sstp-sock /tmp/sstp-uds-sock # REQUIRED (SSTP) > usepeerdns # Use the peer dns addresses > require-mppe # REQUIRED (MPPE) > noauth # We don't need the server to auth > itself > require-mschap-v2 # MSCHAPv2 Authentication Support > refuse-eap # Not yet supported > refuse-chap # Don't accept CHAP-MD5 > refuse-mschap # Don't accept MSCHAP > lock # Lock the port > # nsbsdcomp # Turn off compression protocols > nodeflate # Turn off compression protocols > > 4. sudo /usr/sbin/pppd call tyndall pty "/usr/local/sbin/sstpc server > --nolaunchpppd" > Plugin sstp-pppd-plugin.so loaded. > /usr/sbin/pppd: The remote system (tyndall) is required to authenticate > itself > /usr/sbin/pppd: but I couldn't find any suitable secret (password) for it > to use to do so. > > Can someone tell me what I am doing wrong? > > Also, a couple of things are not clear to me. What is the difference > between <provider> <DOMAIN> and <server>? > > Any help is deeply appreciated. > > Best regards, > Chai > -- > 42 > > -- 42 |