Sunday, October 18, 2009

Beeline VPN Ukraine + Linux

For those who is a staunch supporter of Linux, and who uses the services of Beeline Ukraine (which, unfortunately, only supports Windows :-( for own favorite users), is dedicated this post!

In fact, everything is really simpler for Linux folks in comparision with "illegals" of some another commercial operating systems!.. ;-)

So, a couple of days ago it worked well, but there have been happened something (see below), which is all broke!

United telco operator Beeline (CJSC "Ukrainian Radio Systems" and LLC "Golden Telecom") introduces new technologies that will realize the range of tariff plans with expanded features. In this regard ... on 12/09/2009 you will get a new login and initial password ...

But magic lines below start (when nm-applet's "System eth0" was already activated!) make all the magic, and, Linux fans - to stay completely happy:

sudo -r root /sbin/route add -host vpn2.beeline.ua gw 10.81.56.1
sudo -r root /usr/sbin/pppd call beeline debug &
sleep 10
sudo -r root /sbin/route del default
sudo -r root /sbin/route add default ppp0

Very important detail below:

[root@localhost peers]# cat /etc/ppp/peers/beeline
debug
pty "pptp vpn2.beeline.ua --nolaunchpppd"
user 00034xxxxx@internet.beeline.ua
password XXXXXXXX
nodeflate
nobsdcomp
noauth
[root@localhost peers]#

As a result, we obtain the following:

[root@localhost beeline]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.21 10.81.56.1 255.255.255.255 UGH 0 0 0 eth0
94.27.126.134 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
10.0.0.16 10.81.56.1 255.255.255.255 UGH 0 0 0 eth0
10.81.56.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
[root@localhost beeline]#

BTW, also note the following:

[root@localhost beeline]# cat /etc/resolv.conf
domain beeline.ua
search beeline.ua
nameserver 212.109.32.9
nameserver 212.109.32.5
nameserver 10.10.10.2
nameserver 10.10.12.3
[root@localhost beeline]#

And, finally, next, not bad result (as for me!) has been obtained:

[vit@localhost ~]$ ping -c 3 www.google.com
PING www.l.google.com (74.125.87.99) 56(84) bytes of data.
64 bytes from hb-in-f99.google.com (74.125.87.99): icmp_seq=1 ttl=44 time=47.6 ms
64 bytes from hb-in-f99.google.com (74.125.87.99): icmp_seq=2 ttl=44 time=47.8 ms
64 bytes from hb-in-f99.google.com (74.125.87.99): icmp_seq=3 ttl=44 time=46.9 ms

--- www.l.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2050ms
rtt min/avg/max/mdev = 46.999/47.522/47.892/0.419 ms
[vit@localhost ~]$ ping -c 3 www.bigmir.net
PING www.bigmir.net (193.239.68.40) 56(84) bytes of data.
64 bytes from www.bigmir.net (193.239.68.40): icmp_seq=1 ttl=53 time=5.77 ms
64 bytes from www.bigmir.net (193.239.68.40): icmp_seq=2 ttl=53 time=5.89 ms
64 bytes from www.bigmir.net (193.239.68.40): icmp_seq=3 ttl=53 time=5.86 ms

--- www.bigmir.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2009ms
rtt min/avg/max/mdev = 5.777/5.842/5.891/0.100 ms
[vit@localhost ~]$

The last important detail: starting from this point you must go to the Personal Cabinet on https://my2.internet.beeline.ua/ , but NOT on https://my.internet.beeline.ua/, and, with new login / password!

Enjoy! :-D

No comments: