Results 1 to 5 of 5

Thread: Problem connecting to PPTP server

  1. #1
    Just burned their ISO
    Join Date
    Jun 2010
    Posts
    4

    Default Problem connecting to PPTP server

    Hi,

    I was trying to dial to PPTP server with pptpsetup and don't want to use any encryption.
    But, I was just getting "connection reject" reply from the server, as the configurations at the server and client side didn't match.

    Please advise me.
    Also, isn't there any UI for PPTP/OpenVPN dialer in BackTrack?

    Thanks.

  2. #2
    Just burned their ISO
    Join Date
    Jun 2010
    Posts
    4

    Default Re: Problem connecting to PPTP server

    Hi,

    Never mind.
    But, I found an application, called kvpnc.
    # apt-get install kvpnc

    But, this is one so loosely tested application.
    First of all one can't disconnect once connected to PPTP/VPN server.
    Second, if you kill kvpnc, the PPP adapter won't be removed.
    Third, by default, it will dial very first profile only, even if you select some other profile.
    And so fourth...

    Anyone has got some alternative?

  3. #3
    Senior Member iproute's Avatar
    Join Date
    Jan 2010
    Location
    Midwest, USA
    Posts
    192

    Default Re: Problem connecting to PPTP server

    Without providing additional details such as your command usage or the output of the command, not much help can be provided.
    I have demonstrated a pptp VPN setup on a cisco router and connection to it using pptpsetup in this thread
    http://www.backtrack-linux.org/forum...erver-etc.html
    If it assists you at all. The command for pptp is simple enough that no UI should really be needed. You may also need to address your server config. Many servers are setup to reject the connection if no ecryption is negotiated from the client during connection.

  4. #4
    Just burned their ISO
    Join Date
    Jun 2010
    Posts
    4

    Default Re: Problem connecting to PPTP server

    Quote Originally Posted by iproute View Post
    Without providing additional details such as your command usage or the output of the command, not much help can be provided.
    I have demonstrated a pptp VPN setup on a cisco router and connection to it using pptpsetup in this thread
    # pptpsetup --create myvpnserver --server 192.168.200.1 --username user --password pass123 --start
    # route add -net 192.168.68.0 netmask 255.255.255.0 dev ppp0

    Executed without any error
    # ping 8.8.8.8
    connect: Network is unreachable

    http://www.backtrack-linux.org/forum...erver-etc.html
    If it assists you at all. The command for pptp is simple enough that no UI should really be needed. You may also need to address your server config. Many servers are setup to reject the connection if no ecryption is negotiated from the client during connection.
    Well, in my case, if there would be encryption the server would refuse the connection.
    And if there will be no need of UI, how am I supposed to disconnect from one VPN network and dial other?

    I checked this with kvpnc client.
    But, the application is really pathetic.
    It simply doesn't allow to disconnect at all.
    And when I kill it, the ppp0 adapter will be still there.

    Help is appreciable.

  5. #5
    Senior Member iproute's Avatar
    Join Date
    Jan 2010
    Location
    Midwest, USA
    Posts
    192

    Default Re: Problem connecting to PPTP server

    I've tried it with pptp and kvpnc. You're quite right that it does not disconnect. Looks like something to do with the client, as kvpnc uses external clients to connect. In the case of pptp, it uses the pptp client and pppd daemon. The disconnect button in kvpnc works fine when using the cisco free client for instance.


    Anyway, an easy way to disconnect your pptp tunnel is simply
    Code:
    root@bt:~# killall pppd
    which should also remove the ppp0 adapter.



    Executed without any error
    # ping 8.8.8.8
    connect: Network is unreachable
    Not sure what's going on here/if you're trying to get outside to the internet over the vpn? Once I've added my route for the subnet the VPN connects to I am still able to ping google, however traffic destined for unknown networks is still being routed out of my local internet, and only traffic destined for VPN subnet goes over the VPN tunnel. or 0.0.0.0 goes out wlan0, and 192.168.X.0/24 goes out ppp0.

    I have attempted using a ipsec VPN also but am unable to get that to route outside. No route needs to be manually added with my ipsec vpn tunnel to reach end private subnet, and I believe internet traffic is correctly being routed over the VPN locally, however will not get out to the internet again I believe due to the split horizon rule on the "far end" router.
    Last edited by iproute; 12-07-2010 at 02:37 PM.

Similar Threads

  1. Connecting to X server refused
    By Ace193 in forum Beginners Forum
    Replies: 3
    Last Post: 08-31-2010, 11:49 AM
  2. Connecting problem
    By s0me0ne in forum OLD Wireless
    Replies: 3
    Last Post: 06-22-2009, 08:34 AM
  3. Creating a VPN (pptp) connecting to internet with the BackTrack 3..
    By -->:[HazeR]:<-- in forum OLD Newbie Area
    Replies: 1
    Last Post: 12-29-2008, 10:18 AM
  4. Connecting to AP problem
    By gordon__1 in forum OLD Newbie Area
    Replies: 3
    Last Post: 06-06-2008, 07:38 PM
  5. Anyone install a PPTP client in BT2?
    By pjmcgarvey in forum OLD BackTrack v2.0 Final
    Replies: 9
    Last Post: 02-02-2008, 03:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •