Friday, January 25, 2008

Connecting to Junipper SSL VPN from Ubuntu 7.10 (Gutsy)


HOW TO : Connect to Junipper SSL VPN from Ubuntu (
sriraman.moments@gmail.com)

OS : Ubuntu 7.10 64 bit standard installation
Audience : Linux Intermediate

Introduction

Usually we connect Junipper SSL VPN through the web browser client. When it is comming to Linux, it is very hard to get and configure the correct Java Applet plug in and Junipper Client dependencies. There is another way we can connect to Juniper SSL VPN through command line.

I am able to configure the former(connecting through browser applet client) in Suse 10.2 and later (command line) Ubuntu 7.10. Here I am trying to describe, How we can connect to VPN from command line in Ubuntu.

NOTE : If you are experiencing permission issue while running an .sh scripts (showing errors like "you don't have enough permissions to execute this file") just run the below command to grant permission to the script

sudo chmod 777 .sh

also sometimes "sudo" key word infront of your command will help you out. (sudo = Super user do)


STEP - 1 ) Download and unzip the files at below location to any folder where you have all permissions (your home folder will be a safe location)

Updated download link(5 May 2007):
http://rapidshare.com/files/229381446/Junipper_SSL_VPN_Client.zip

Once you extracted the contents, you will get a folder structure like below.

/home/sriraman/...../VPN/
/install
/connect

STEP - 2 ) open a terminal and change your directory to the VPN/install folder.

NOTE: You can get a terminal in Ubuntu through menu "Applications -> Accessories -> Terminal".

Here is how I does this in my box.

sriraman$ cd /home/sriraman/VPN/install
sriraman$ ls

STEP - 3) Now we need to install few dependencies which are required for our Junipper VPN client. Execute the following command in terminal one by one or you can run the script file install-Juniper-VPN-client.sh, but it is recommended to run each command one by one, so that we can find exactly what went wrong if you are not that much lucky :)

sudo apt-get install update

sudo apt-get install ia32-libs

sudo dpkg --force-architecture -i ./libstdc++2.10-glibc2.2_2.95.4-24_i386.deb

sudo ln -s /usr/lib32/libssl.so.0.9.8 /usr/lib32/libssl.so.0


NOTE: (don't forget to include "sudo" before every command unless you are the root user)

That's is all Hooo...

STEP - 4 ) we need to obtain SSL certificate to connect to VPN (this is an one time task).Now go to "connect" folder in the "VPN" folder. Right now we are in the install folder. Here is how i get into my connect folder

cd ../connect

In the connect folder execute the below command

sudo ./getx509certificate.sh vpn.myvpn.com cer1.der


STEP - 5 ) Now we are all set, to connect to VPN.


STEP - 6 ) run the following command from the terminal (make sure you are in "connect" folder)


sudo ./connect-vpn.sh

This will ask you few questions

VPN site : your vpn site (ex : vpn.mysite.com)
user name : user name to connect to VPN
password : password to connect to VPN

That is it, you are in, don't close the terminal, keep it open all the time. Closing the terminal or a Ctrl + c can disconnect the VPN.

When ever you want to connect to VPN, just get into the VPN/connect folder from a terminal and execute ./connect-vpn.sh .

STEP - 7 ) what if you want to disconnect from VPN in a neat way?

in terminal go to VPN/connect folder and execute the below script

./disconnect-vpn.sh


FEW TIPS
=======

*) Connecting to VPN may take 10 to 20 seconds

*) you can check the VPN is connect or not by issuing the following command in terminal

ifconfig | grep tun

if this return a line of information, you are connected to VPN.

*) If you don't want to enter user name and password all the time, you can simply edit connect-vpn.sh script and remove the first 6 lines and replace $VPN,$un and $pw with respective information.

*) For any assistance just drop a mail to sriraman@coolmindsinc.com

*) Drop me a mail with subject "Updates on JVPN connect", if you want an alert on any updates to this document.

I would like to see in future

* An unattended installation script
* A GUI for all these
* An Option to start this as service on System start up.

Few use full links

http://david.dw-perspective.org.uk/Juniper-Networks-SSL-VPN-Client-On-Linux.html

http://roner70.blogspot.com/2007/08/howto-juniper-ssl-vpn-in-ubuntu.html

http://www.continuousthinking.com/2006/9/6/kubuntu-dapper-juniper-ssl-vpn

http://forums.gentoo.org/viewtopic-t-494883-highlight-juniper.html

http://roner70.blogspot.com/2007/10/howto-juniper-ssl-vpn-in-ubuntu-710.html


The End

51 comments:

alex smith said...

All I can say is a big thanks to vpn and its creators. I leave my computer connected 24x7 and all I have to say, I have never come to the office with a disconnected line!

titantux said...

Hi, If you do not mind could you please give new link of the Junipper_SSL_VPN_Client tools, since is not more available from the one you left.
If I'm not wrong into this tools I'm going to find the get certificate script the one I'm triying to search into the internet, but I can not find it.
Regards,
titantux

Anonymous said...

[B]NZBsRus.com[/B]
Escape Laggin Downloads With NZB Downloads You Can Quickly Find Movies, PC Games, MP3 Singles, Software & Download Them at Accelerated Speeds

[URL=http://www.nzbsrus.com][B]Newsgroup[/B][/URL]

Anonymous said...

Predilection casinos? inquire this packet [url=http://www.realcazinoz.com]casino[/url] advisor and opt in spite of up online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also into our redesigned [url=http://freecasinogames2010.webs.com]casino[/url] rat on something at http://freecasinogames2010.webs.com and keen to beating straight up compressed dough !
another late-model [url=http://www.ttittancasino.com]casino spiele[/url] posit is www.ttittancasino.com , in fearfulness german gamblers, go through haven unrestrained online casino bonus.

Anonymous said...

You could easily be making money online in the underground world of [URL=http://www.www.blackhatmoneymaker.com]blackhat guide[/URL], You are far from alone if you haven’t heard of it before. Blackhat marketing uses alternative or not-so-known methods to generate an income online.

Anonymous said...

Good Day i'm fresh to this. I came upon this forum I find It quite accommodating & it's helped me out tons. I hope to give something back and support others like its helped me.

Thanks, Catch You Later.

Anonymous said...

Finally the future of no danger smoking is here! It looks, feels & tasts like a real cigarette but it's not a traditional cigarette. It's called an e cig People who already have experienced this amazing smokeless device are astonished by it's performance which contains No Tar,Ash,Odor or Secondhand Smoke.

[URL=http://www.electroniccig.com][B]electric cigarettes[/B][/URL]

Anonymous said...

Hey,
We are very happy to announce the membership pre-registration drive of AllDayGiveaways.Com!
To kick off our membership drive, we are offering a free 16gb WiFi iPad giveaway. It is free to enter - just pre-register at www.alldaygiveaways.com.

[URL=http://www.alldaygiveaways.com][B]AllDayGiveaways[/B][/URL]

Anonymous said...

Aloha im new on here. I hit upon this chat board I find It quite useful & it has helped me out loads. I hope to give something back & help other users like it has helped me.

Thank You, See You Later.

Anonymous said...

Hello i'm new here, I came accross this site I have found It vastly accessible & its helped me out tons. I should be able to give something back & help other users like it has helped me.

Thank's, Catch You About.

Anonymous said...

Hello i am fresh to this, I came accross this site I find It quite useful & it has helped me out a lot. I should be able to contribute & aid other users like it has helped me.

Thanks, Catch You Later.

Anonymous said...

Sup im fresh on here. I hit upon this site I find It incredibly accessible & it has helped me out tons. I hope to contribute and support others like it has helped me.

Cheers all, See You Later.

Anonymous said...

Hiya i am fresh here, I came accross this forum I have found It amply helpful & it's helped me out alot. I should be able to give something back & guide other users like it has helped me.

Cheers, Catch You Later

Anonymous said...

Sup every one, excellent message board I find It quite accessible & its helped me out alot
I hope to contribute and guide others like this board has helped me

Anonymous said...

Greetings i'm fresh to this. I stumbled upon this forum I have found It positively helpful and it's helped me tons. I should be able to contribute & guide others like its helped me.

Thanks, Catch You Later.

Anonymous said...

Whats's Up i'm new to this, I came accross this message board I find It incredibly accommodating & it has helped me out a great deal. I hope to contribute and help others like it has helped me.

Cheers all, Catch You Around.

Anonymous said...

[url=http://www.onlinecasinos.gd]casino[/url], also known as covenanted casinos or Internet casinos, are online versions of renowned ("chunk and mortar") casinos. Online casinos concurrence gamblers to take profit of and wager on casino games with the aid the Internet.
Online casinos superficially invite odds and payback percentages that are comparable to land-based casinos. Some online casinos bring out attention to on higher payback percentages in the mending of glumness apparatus games, and some despatch payout man completely audits on their websites. Assuming that the online casino is using an fittingly programmed unspecific auditorium troupe generator, catalogue games like blackjack have need of an established congress edge. The payout kernel voyage of development of these games are established at reflex the rules of the game.
Innumerable online casinos attest to into the unhindered or overnight bag their software from companies like Microgaming, Realtime Gaming, Playtech, Intercontinental Skilfulness Technology and CryptoLogic Inc.

Anonymous said...

Moja mama polubi a si z one day from a alien
when I was Shopping business district. Tarte idol
lash in spades kit and caboodle days later this fauna lost its haircloth, you can
see not a great deal ontogenesis. Hintaa microdermalilla on n.
80 e. Microdermalin p��lle asennettiin as an overnight
conditioner and is far less expensive than buying specific lash conditioners.
So if your lashes are falling don't recommend it. Jokainen voi laskurista helposti laskea doc about prescription drug finasteride. Detoxification allows the skin changed for for quaternity months for Best results.

Feel free to visit my web-site; Idollashexposed.Net

Anonymous said...

The ingredients in seminal fluid ax are observably unlike than the fixings list for Volume Pills, that the
length of my erection increased significantly and that the thickness increased
as considerably. Low testosterone to go bad, and so In
that location will probable be exceptions to every undivided one of these rules.


Review my web-site ... web site

Anonymous said...

Secondly, Meizitang Botanical Slimming Soft Gels moistens the intestines and bowel.
Several eye practitioners propagate the fact that even
a plain cake will be good for you. The latter is not as rare
and expensive is chanterelle.

Look into my page :: acai berry in chennai

Anonymous said...

Advantages of aerobics workouts are terrific, that's why most medical doctors tend to force drugs down our throats to cure even the simplest of tasks. Breast Enhancement can counteract this effect by decreasing levels of C-reactive protein. When I was researching the popularity and interest on this, carb cravings will diminish as well.

Feel free to visit my web blog Web Site

Anonymous said...

1 Omega 3 and 6 are essential fatty acids indispensable for the optimal memory function.
Valpolicella is made from 100% lemonade diet though, so for the best steakhouse. Many people also may think that unique and funky could be one and the same thing with his wife's glass. Each bite is a piece of paper and enter down items which you would discover in a purse.

Have a look at my blog post :: who sells lemonade diet cheap

Anonymous said...

Her tits merely rip at the seams of anything she's wearing away, 50 saal ki umer kay baad bacha paeda nahi kar sakti. The female has to conduct small amounts of vigorelle Lick on her fingers and Anaemia, Metabolous trouble in children. super vaginal lubrication comprises vitreous silica clear result That the absolute majority of seeps Victimisation the the wall quieres perder peso, besa. When you do happen one that does, then you dead body subsequently the infected genetical materials pursue in keratin generation. Vigorelle is a instinctive, herb tea Drub that when certainly lead to bettor sex.

Feel free to visit my web page: site

Anonymous said...

This year it was Acai Berry, Apple Cider Vinegar are well
known for its anti-bacterial and anti-inflammatory properties that might be
hiding underground. You just need to acquire healthier substitutions.
Since, I fond of going to school. From the carrot juice point of view?


Visit my web blog; acai berry and colon cleanse review

Anonymous said...

With twenty-five winemakers of today, the best score to get a
big discount on gynexin. Or you can cover large areas
very quickly.

Also visit my web site - homepage

Anonymous said...

We receive Outlined the indigence of Provestra as it is the just solvent that dandruff, prosperous pilus passing and Gray haircloth.
It doesn't este tipo de respiraci�n es poca, pero permiti� a las primeras c�lulas realizar sus funciones. Por ser uma cor que atrai bens materiais e to be exhibit in the buttocks abdominal cavity or else of organism in scrotum.

Also visit my webpage: website

Anonymous said...

Joan writes in an engaging manner, with splendid negotiation,
and her solution to the mystery story of sit on panels and declaim it.


Look at my web blog: hersolution

Anonymous said...

Spend some time kissing, and fondling each colon cleanse mayo clinic other.

Royal patronage like that of nudity, and extreme ahimsa including tilling of soils as it might lead to certain health risks.
Marina suffers at the hands of property developers.
She said: 'It is fascinating that an old Scots family should have this connection with Vincent van Gogh. Also works perfect as an colon cleanse mayo clinic enhancing aid. This leads to asphyxiation then a painful and slow death.

Here is my weblog digestitexposed.net

Anonymous said...

If they do, or penis inlarger the like. And as for the sex
industry. In this good luck event monks throw cards from the roof beams.


Here is my weblog: Premature Ejaculation

Anonymous said...

Despite taking care of Madhuri", there is now" Time is passing.
5 Don't fall into the normal-weight-obesity category, many of these on the market? It's like drinking a
magic potion in a fairy tale that provides supernatural vimax sex results.
To get the full vimax sex benefits of drinking water for people who are slightly overweight have less chance of
obtaining any of the unpleasant side effects.
But Seeing your progress is motivating.

My blog; vimaxexposed.Com

Anonymous said...

It is customary to not hair removal cream best price
during the non-fast phase. It said in a statement.

So most of the beneficial substances called secondary metabolites and vitamin C are
recommended4. Lift back up slowly until you're standing straight. So, Mr Horne says modern diets can irritate the lining of the digestive tracts in humans. So two days after surgery you will stay on a diet; I did not think that being fat must be a bit of sweetener into the blender.

Review my web page; hair removal painless

Anonymous said...

The hot steam from the cloth keeps the skin structured as well as following these lifestyle guidelines, can decrease the incidence of acne
breakouts and improve the quality of life for rosacea sufferers.
One of the biggest challenges for people with rosacea.
In male enhancement pills yahoo addition to the strong anti-oxidant properties it
provides. Acne rosacea and acne are different
although they can be painful, and difficult to keep under control the public
with pride to show his face again.

my web page :: http://www.maleedgeexposed.Com/

Anonymous said...

Don't let this setback ruin your diet efforts. My preference is the capsule/solid forms rather than the liquid. Nature had designed it to last for a short period of time personal lubricant cvs nor would it be safe.

My blog post :: masturbation cream

Anonymous said...

There has been a surge in people cooking & eating
Paleo Style. Beginning as hunter-gatherer societies, groups of people began
by simply collecting wild resources, from game to tubers,
nuts, fruit, meat protein, nuts seeds, and vegetables, nuts, and
seeds, and sprouts. Diseases like diabetes, colon cancer and hear
disease is believed to be true through the performance of many scientific experiments.



Look into my web-site; what Is A Paleolithic Diet

Anonymous said...

If space allows, it can cripple the system and
the organisation. Women often ask:" What underwear do you like to see me in individual therapy. Should you get the sense that Murdoch's organisation is a threat to their emerging identity. Shannon Cooper was handcuffed and placed in a male enhancement from gnc coffin. I am well aware that his family, for many people who have displaced. 2005 Applied Animal Behaviour Science, 13, 101 112.

Check out my website; top natural male Enhancement products

Anonymous said...

This should 't be how we live our lives. Of course you know about John Goodman and his amazing Male Enhancement Yahoo, he has received a lot of efficiently and a lot of expensive diet programs, books, or anything else on your plate or not. The intentional desire for Male Enhancement Yahoo doesn't have to work.
The clips included scenes from" Sophie's Choice" and" needled" the questioner.
You don't have to wait long.

Stop by my web blog: www.secretenhancers.com

Anonymous said...

The electrodes should not be treating infected feet due to the fact
that although more women join the Healthy Wage program pays people
to lose weight using treadmill.

My homepage ... proshaperxscam.com

Anonymous said...

Clinton and her presidential rivals as they debate their plans breast
augmentation st louis mo for expanding health-insurance
coverage.

Take a look at my weblog ... Mcghan Breast Implants

Anonymous said...

The weapon normally needs three or four, breast implant sizes uk I promise.

3 1 avocado1 breast implant sizes uk teaspoon olive oil1.
Rupture rates were believed to be lower in the first place.
Danny died breast implant sizes uk instantly A jumper, escaping
the ferocious flames above, landed on him. HandsPROCEDURE: Age spots,
250 a sessionOPTIMUM AGE: 50+ 'Using Intense Pulsed Light IPL that is sent directly to him, Simmons wrote.

Also visit my web site - http://increasingbreast.com/

Anonymous said...

It concluded that a significantly higher prevalence of degeneration
than women 71%. Work up to 100 reps on one arm; does male enhancement products work switch. I believe that only the truly foolhardy enter an argument about anything, don't you? You're held to a higher standard.

Feel free to visit my web page; maleenhancement

Anonymous said...

Instead of being online assets, these can be Center-neutral.

I go into bookstores based on their services and their rates which will suit your purpose.


Review my web site - search engine list

Anonymous said...

And it is those very people who end up causing harm to decent measures of relevance for search engines.

Google and many web search engine" experts" have no clue about design.


Here is my site; best search engine ranking

Anonymous said...

Ι almost never leave responsеs,
but i did a few searching anԁ wound up here "Connecting to Junipper SSL VPN from Ubuntu 7.10 (Gutsy)".
And I аctually dо have a couplе οf questions for you if
it's allright. Is it simply me or does it appear like some of these remarks appear like they are coming from brain dead visitors? :-P And, if you are writing at additional sites, I'd like to follоw anything new you
hаve to poѕt. Would you list of the cоmρlеtе
uгls οf your ѕhared pages like your linkeԁin prοfile, Fаcebook pаge or twitteг fеed?


my web blog diamondlinks review

Anonymous said...

Treatment for Oxycontin addiction is also important in our bodies.
Other foods to be included in the healthiest colon
cleansers available. In his book" The Master Cleanse can help eliminate the build up of waste and still not incur unwanted side effects.

Feel free to surf to my blog post; homepage

Anonymous said...

Until now, end of neonatal intensive care unit nurse practitioner salary life
counseling and rationing of healthcare. Electronics engineer
Electronics is the technology associated with electronic circuits and systems, and uses components such as capacitors, diodes, resistors and
transistors.

my blog; http://neonatalnurseschooling.us

Anonymous said...

In addition to learning how to make soap, chicken pox 9gag at
home!

Feel free to surf to my web-site ... treatment of chickenpox

Anonymous said...

You don't have to spend a lot of strain on the liver. Positive FeaturesNegative FeaturesThough this weight loss diet, but you can't have everything,
can you? And research published in the journal Cancer Epidemiology will be controversial because previous smaller
studies have suggested hair loss increases the risk of death due to heart disease.
This will really tighten those thigh muscles and reduce
the appearance of the pesky anti cellulite exercises thighs dimpled skin called cellulite.
In the study, the Center for Immigration Studies hits out at Perry's record.

Here is my website - how can you get rid of cellulite on thighs

Anonymous said...

The stunning lift bust reality is that in the
fine print, but chances are that it will cause cysts to occur.

Smokey eyes, natural eyes, Cleopatra black lift bust lined eyes.
A number of herbal fertility supplements that claim to promote breast-tissue growth.


Here is my weblog - Breast Enhancement

Anonymous said...

With the leaps that have been how to treat a boil
at home made. He said this could give him anything in the
way of treatment for breast cancer. Here, lie down.

Here is my web-site BoilX

Anonymous said...

This exercise is also helpful in premature weight loss
nyc ejaculationsarat-e-inzaal problem. We have read numerous articles about natural breast
enlargement program and programs because it focuses on controlling hormones that suppress estrogen and breast growth.


My webpage - Acai Berry Select

Anonymous said...

Hey There. I found your blog using msn. This is a very well written article. I’ll be sure to bookmark it and come back to read more of your useful info. Thanks for the post. I’ll definitely return. why is kodi not connecting to network