Results 1 to 4 of 4

Thread: Creating a PPTP vpn connection in BT5 R3

Hybrid View

  1. #1
    Just burned their ISO
    Join Date
    Feb 2013
    Posts
    3

    Question Creating a PPTP vpn connection in BT5 R3

    I have spent the last two days searching and trying tutorials on the internet for creating a PPTP connection in backtrack. I tried all of them but none of them work. I have network-manager-kde and network-manager-pptp installed. I have created a PPTP connection with NetworkManager but it doesn't connect. here the log after trying to connect:
    Code:
    Feb 10 16:26:07 bt NetworkManager: <info>  Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
    Feb 10 16:26:07 bt NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 2426
    Feb 10 16:26:07 bt NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
    Feb 10 16:26:07 bt NetworkManager: <info>  VPN plugin state changed: 3
    Feb 10 16:26:07 bt NetworkManager: <info>  VPN connection 'VPNMakers' (Connect) reply received.
    Feb 10 16:26:08 bt NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
    Feb 10 16:26:08 bt NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
    Feb 10 16:26:08 bt pptp[2429]: nm-pptp-service-2426 log[main:pptp.c:314]: The synchronous pptp option is NOT activated
    Feb 10 16:26:09 bt pptp[2442]: nm-pptp-service-2426 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
    Feb 10 16:26:09 bt pptp[2442]: nm-pptp-service-2426 log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
    Feb 10 16:26:09 bt pptp[2442]: nm-pptp-service-2426 log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
    Feb 10 16:26:10 bt pptp[2442]: nm-pptp-service-2426 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
    Feb 10 16:26:10 bt pptp[2442]: nm-pptp-service-2426 log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
    Feb 10 16:26:10 bt pptp[2442]: nm-pptp-service-2426 log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 9086).
    Feb 10 16:26:12 bt pptp[2442]: nm-pptp-service-2426 log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO received from peer_callid 36123
    Feb 10 16:26:12 bt pptp[2442]: nm-pptp-service-2426 log[ctrlp_disp:pptp_ctrl.c:953]:   send_accm is 00000000, recv_accm is FFFFFFFF
    Feb 10 16:26:12 bt pptp[2442]: nm-pptp-service-2426 warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async Control Character Maps are not supported!
    Feb 10 16:26:13 bt pptp[2442]: nm-pptp-service-2426 log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO received from peer_callid 36123
    Feb 10 16:26:13 bt pptp[2442]: nm-pptp-service-2426 log[ctrlp_disp:pptp_ctrl.c:953]:   send_accm is FFFFFFFF, recv_accm is FFFFFFFF
    Feb 10 16:26:13 bt pptp[2442]: nm-pptp-service-2426 warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async Control Character Maps are not supported!
    Feb 10 16:26:13 bt NetworkManager:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
    Feb 10 16:26:13 bt NetworkManager: <info>  VPN plugin failed: 1
    Feb 10 16:26:13 bt pptp[2429]: nm-pptp-service-2426 warn[decaps_hdlc:pptp_gre.c:204]: short read (-1): Input/output error
    Feb 10 16:26:13 bt pptp[2429]: nm-pptp-service-2426 warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
    Feb 10 16:26:13 bt pptp[2442]: nm-pptp-service-2426 log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled)
    Feb 10 16:26:13 bt pptp[2442]: nm-pptp-service-2426 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
    Feb 10 16:26:13 bt pptp[2442]: nm-pptp-service-2426 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
    Feb 10 16:26:13 bt NetworkManager: <info>  VPN plugin failed: 1
    Feb 10 16:26:13 bt NetworkManager: <info>  VPN plugin state changed: 6
    Feb 10 16:26:13 bt NetworkManager: <info>  VPN plugin state change reason: 0
    Feb 10 16:26:13 bt NetworkManager: <WARN>  connection_state_changed(): Could not process the request because no VPN connection was active.
    Feb 10 16:26:13 bt NetworkManager: <info>  Policy set 'Auto eth0' (eth0) as default for routing and DNS.
    Feb 10 16:26:26 bt NetworkManager: <debug> [1360500986.001773] ensure_killed(): waiting for vpn service pid 2426 to exit
    Feb 10 16:26:26 bt NetworkManager: <debug> [1360500986.001912] ensure_killed(): vpn service pid 2426 cleaned up
    Then i tried KVPNC, a client for vpnc. I created a PPTP connection, but it doesn't work either. here's the KVPNC's log:
    Code:
    debug: Wallet disabled or not available, reading passwords from config file.
    error: GenerateOpenvpnKeyDialog: empty filename.
    debug: pppd: /usr/sbin/pppd
    debug: Loading of module "ip_gre" was successful.
    debug: pppd peer script: /etc/ppp/peers/kvpnc.vpn 
    debug: pppd: /usr/sbin/pppd 
    debug: Trying to connect to server "us6.myfastport.com" with user "*********"... 
    debug: Setting DNS_UPDATE "NO".
    debug: "pppd" started.
    info: Connection has been terminated.
    debug: There is a reason to stop connecting, terminating "pppd" process.
    debug: Disconnect requested
    error: Remote modem has hung up. Connection was terminated.
    debug: There is a reason to stop connecting, terminating "pppd" process.
    debug: Disconnect requested
    debug: Disconnect requested, status connecting
    debug: Killing process while connecting. 
    success: Successful connect try canceled.
    debug: Disconnected.
    info: Reconnect after connection lost enabled, reconnecting...
    debug: pppd: /usr/sbin/pppd
    debug: Support for GRE found (compiled into kernel or kernel module already loaded).
    debug: pppd peer script: /etc/ppp/peers/kvpnc.vpn 
    debug: pppd: /usr/sbin/pppd 
    debug: Trying to connect to server "us6.myfastport.com" with user "*********"... 
    debug: Setting DNS_UPDATE "NO".
    debug: "pppd" started.
    debug: Disconnect requested, status connecting
    debug: Killing process while connecting. 
    success: Successful connect try canceled.
    debug: Disconnected.
    info: Reconnect after connection lost enabled, reconnecting...
    debug: pppd: /usr/sbin/pppd
    debug: Support for GRE found (compiled into kernel or kernel module already loaded).
    debug: pppd peer script: /etc/ppp/peers/kvpnc.vpn 
    debug: pppd: /usr/sbin/pppd 
    debug: Trying to connect to server "us6.myfastport.com" with user "*********"... 
    debug: Setting DNS_UPDATE "NO".
    debug: "pppd" started.
    debug: Disconnect requested
    debug: Disconnect requested, status connecting
    debug: Killing process while connecting. 
    success: Successful connect try canceled.
    debug: Disconnected.
    I have also tried these commands:
    root@bt:~/Desktop# pppd call kvpnc.vpn
    Using interface ppp0
    Connect: ppp0 <--> /dev/pts/2
    LCP: timeout sending Config-Requests
    Connection terminated.
    Modem hangup


    root@bt:~/Desktop# pptpsetup --create vpnm --server us6.myfastport.com --username ********** --password ****** --start
    Using interface ppp0
    Connect: ppp0 <--> /dev/pts/2
    LCP terminated by peer (^VM-XTM-^Q^@<M-Mt^@^@^C,)
    Connection terminated.
    Modem hangup
    My vpn provider supports PPTP, L2TP and SSTP vpns. I'm new to linux and never heared of openvpn or cisco vpn before. I used to create a vpn connection very simply with windows and could select any of the three types of vpn with a drop down list, but now i'm stuck with creating a PPTP vpn connection with BT. So if there is a better way to create a L2TP or SSTP connection i'd be thankful if someone could tell me.
    I also found this thread where people had similar problem creating a PPTP vpn with BT5 but unfortunately there was no answer from the community.
    This is my ifconfig:
    eth0 Link encap:Ethernet HWaddr 00:18:f3:f4:1c:e0
    inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::218:f3ff:fef4:1ce0/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:17604 errors:0 dropped:0 overruns:0 frame:0
    TX packets:17235 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:17556877 (17.5 MB) TX bytes:1873133 (1.8 MB)
    Interrupt:43

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:936 errors:0 dropped:0 overruns:0 frame:0
    TX packets:936 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:98785 (98.7 KB) TX bytes:98785 (98.7 KB)
    And this is my /etc/network/interfaces file:
    auto lo
    iface lo inet loopback
    (i deleted other interfaces to get NetworkManger working)
    thanks in advance

  2. #2

    Default Re: Creating a PPTP vpn connection in BT5 R3

    Hi,

    I understand your frustration. I was there with several days ago. Unfortunately I'm using BT5 R3 x64 Gnome and I've succeeded to pass the moment by watching out this:

    http://www.youtube.com/watch?v=Qb0orNRte9E

    http://www.root25.com/2012/09/instal...cktrack-5.html

    Using GUI might sounds a little lame but I've needed something handy and a fast solution without too much testing from CLI.

    Once I'll gather more info I'll get back you eventually.
    Last edited by Osirium; 02-11-2013 at 04:08 PM.
    Everyone has started from ZERO. I'm not an exception but I'm trying to hear more than speak too much.

    http://pentestconsultancy.blogspot.ro

  3. #3
    Just burned their ISO
    Join Date
    Feb 2013
    Posts
    3

    Lightbulb Re: Creating a PPTP vpn connection in BT5 R3

    Oh! Finally...
    First, thank you Osirium but i already have NetworkManager installed. Problem is(was) i couldn't connect to vpn.
    Solution:
    After changing every protocol and authentication method manually in /etc/ppp/options and /etc/ppp/options.pptp i didn't succeed. but trying with CHAP and commenting 'noauth' gived some interesting responses. Then i came back to windows and tried with different connection options, and found out that my provider uses CHAP with no MPPE. The problem was in every tutorial i was strongly suggested to enable MPPE encryption. So i disabled MPPE in KNetworkManager and also disabled all protocols but CHAP and now i'm easily connected to my vpn.
    After all, i learned much about how vpn and PPTP work while trying to fix this!

  4. #4
    Just burned their ISO
    Join Date
    Nov 2012
    Posts
    4

    Default Re: Creating a PPTP vpn connection in BT5 R3

    i have installed backtrack 5 r2 and i install network gnome manager ,with VPN connection i'm going on internet ,that's ok ,
    problem is next, i bought new computer ,install bt and now i can not connect to VPN ,everything is ok but vpn connection is failed every time i try to connect
    when i replace HDD to old computer and start BT i can connect to VPN ,put the HDD back to new computer and again the same error ,


    any help ?

Similar Threads

  1. Help connect to VPN over PPTP: BT5
    By Sameer59 in forum BackTrack 5 Beginners Section
    Replies: 3
    Last Post: 10-01-2012, 04:11 PM
  2. VPN PPTP BruteForcing
    By tarantula78 in forum BackTrack 5 Beginners Section
    Replies: 1
    Last Post: 04-27-2012, 12:51 AM
  3. Help Creating Dial-Up, PPPoE Connection
    By MASTERofMINDS in forum Beginners Forum
    Replies: 4
    Last Post: 04-05-2011, 06:00 AM
  4. Nmap over pptp vpn
    By ceefus in forum Beginners Forum
    Replies: 3
    Last Post: 12-19-2010, 03:04 PM
  5. 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

Posting Permissions

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