Author Topic: VPN Connection  (Read 4435 times)

Sparklz

  • Newbie
  • *
  • Posts: 2
    • View Profile
on: February 08, 2012, 10:54:34 AM
Hey
So I'm using iPredator as my preferred VPN. When I had windows, my laptop would hold the connection to the vpn whereas my desktop would never connect. Now I have Backbox, before that, ubuntu. Both PC's now, I can connect to the VPN, and it will stay connected until I do anything online. Basically, if I go to a page, download, upload, etc. then the VPN connection will drop. As far as I know, my drivers are good. I have Broadcom drivers and a netgear wireless nic on the desktop, and the I don't even know on the laptop because the wireless drivers worked right "out of the [back]box", so I never bothered to look them up. I'm a security nut, so not being able  to use my VPN is like walking around with an arrow in my knee.
I am a intermediate in using konsole, so you will have to post what I need to enter, but with that I should be able to make things work.

I have run sudo apt-get update && upgrade and everything is up-to-date there.



ostendali

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 587
    • View Profile
Reply #1 on: February 08, 2012, 03:42:12 PM
the security must be suffering these days to troubleshoot some problems.....
will I need to tell you have a look into your /var/log/whatevervpnyouaresuing/xyz.log?
as well as /var/log/messages



Sparklz

  • Newbie
  • *
  • Posts: 2
    • View Profile
Reply #2 on: February 08, 2012, 04:22:05 PM
I would be happy to show you the logs if there were any logs to show.
Code: [Select]
sparklz@Sparklz-D:/var/log$ ls
alternatives.log  dmesg.1.gz      kern.log          syslog.2.gz
apache2           dmesg.2.gz      lastlog           syslog.3.gz
apparmor          dmesg.3.gz      mail.err          thpot
apt               dmesg.4.gz      mail.log          tor
auth.log          dpkg.log        news              udev
boot              faillog         openvas           ufw.log
boot.log          fontconfig.log  pm-powersave.log  unattended-upgrades
bootstrap.log     fsck            polipo            wtmp
btmp              gdm             postgresql        Xorg.0.log
ConsoleKit        honeypot        pycentral.log     Xorg.0.log.old
dist-upgrade      installer       samba
dmesg             jockey.log      syslog
dmesg.0           jockey.log.1    syslog.1
« Last Edit: February 22, 2012, 11:13:21 AM by raffaele »



ZEROF

  • Hero Member
  • *****
  • Posts: 1247
    • View Profile
    • Pen Tester
Reply #3 on: February 09, 2012, 01:33:12 PM
Hi, i saw this problem before. All is ok with BBox, but you need to reinstall network menager. After updates if you want to run VPN, you need fresh install, it's kernel stuff, as i got right. Delete and after run :

sudo apt-get install network-manager-pptp

And settings :








Check only Point-to-Point (MPPE)- 128bit, don't tuch other setting !



If you don't see all image, open them in your browser :


Code: [Select]
http://www.hotimg.com/direct/ghthcwS.png
http://www.hotimg.com/direct/GzSaFVH.png
http://www.hotimg.com/direct/3hQfwXF.png
http://www.hotimg.com/direct/Gz9p2Sb.png


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*


li9h7

  • Guest
Reply #4 on: February 22, 2012, 07:48:58 AM
If i understand correctly,  
I have same problem and after some googling and reading system log i found a way.
main problem is from MTU in connection.
set your mtu size to 1200.
first connect to vpn server and before do anything
run this command:

sudo ifconfig ethX mtu 1200

it solved my problem hope solve yours too.
« Last Edit: February 22, 2012, 07:55:57 AM by li9h7 »



ostendali

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 587
    • View Profile
Reply #5 on: February 23, 2012, 02:10:06 AM
I would be happy to show you the logs if there were any logs to show.
Code: [Select]
sparklz@Sparklz-D:/var/log$ ls
alternatives.log  dmesg.1.gz      kern.log          syslog.2.gz
apache2           dmesg.2.gz      lastlog           syslog.3.gz
apparmor          dmesg.3.gz      mail.err          thpot
apt               dmesg.4.gz      mail.log          tor
auth.log          dpkg.log        news              udev
boot              faillog         openvas           ufw.log
boot.log          fontconfig.log  pm-powersave.log  unattended-upgrades
bootstrap.log     fsck            polipo            wtmp
btmp              gdm             postgresql        Xorg.0.log
ConsoleKit        honeypot        pycentral.log     Xorg.0.log.old
dist-upgrade      installer       samba
dmesg             jockey.log      syslog
dmesg.0           jockey.log.1    syslog.1

well, they are right there, called "syslog"....
a bit imagination wont hurt anyone pls.......