24
7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 1/24      

How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

Embed Size (px)

Citation preview

Page 1: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 1/24

S i g n U p      

L o g I n      

C o m m u n i t y      

3 8      6 2 S h a r e C o n t e n t s

H o w t o S e t u p a M u l t i - P r o t o c o l V P N S e r v e r U s i n g S o f t E t h e r  

N o v 1 9 , 2 0 1 3 S e c u r i t y , N e t w o r k i n g U b u n t u      

I n t r o d u c t i o n      

T h i s a r t i c l e e x p l a i n s h o w t o i n s t a l l a n d c o n f i g u r e a m u l t i - p r o t o c o l V P N s e r v e r u s i n g t h e      

S o f t E t h e r p a c k a g e . W e e n a b l e a n d c o n f i g u r e O p e n V P N a n d L 2 T P o v e r I P S e c a n d S S T P      

V P N S e r v e r s o n L i n u x .  

W h a t i s S o f t E t h e r    

S o f t E t h e r V P N i s o n e o f t h e w o r l d ' s m o s t p o w e r f u l a n d e a s y - t o - u s e m u l t i - p r o t o c o l V P N        

s o f t w a r e , m a d e b y t h e g o o d f o l k s a t t h e U n i v e r s i t y o f T s u k u b a , J a p a n . I t r u n s o n      

W i n d o w s , L i n u x , M a c , F r e e B S D a n d S o l a r i s a n d i s f r e e w a r e a n d o p e n - s o u r c e . Y o u c a n      

u s e S o f t E t h e r f o r a n y p e r s o n a l o r c o m m e r c i a l u s e f r e e o f c h a r g e .  

S t e p 1 : C r e a t e a V i r t u a l S e r v e r    

F i r s t , y o u n e e d t o c r e a t e a D i g i t a l O c e a n D r o p l e t . A s m e n t i o n e d i n S o f t E t h e r ' s w e b s i t e ,  

S o f t E t h e r w i l l w o r k o n a l m o s t e v e r y L i n u x d i s t r o w i t h k e r n e l v 2 . 4 o r a b o v e , ; h o w e v e r i t ' s      

r e c o m m e n d e d t o c h o o s e o n e o f t h e s e d i s t r i b u t i o n s : C e n t O S , F e d o r a , o r R e d H a t    

E n t e r p r i s e L i n u x .  

P e r s o n a l l y I h a v e t r i e d i t o n U b u n t u , C e n t O S a n d F e d o r a , b o t h 3 2 a n d 6 4 b i t e d i t i o n s ,  

a n d i t h a s w o r k e d p e r f e c t l y .  

S t e p 2 : U p d a t e y o u r S e r v e r S o f t w a r e      

   

M e n u      

Page 2: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 2/24

U s i n g t h e c o m m a n d b e l o w , u p d a t e a n d u p g r a d e y o u r s e r v e r s o f t w a r e p a c k a g e s t o t h e      

l a t e s t v e r s i o n :  

D e b i a n / U b u n t u :    

C e n t O S / F e d o r a :    

S t e p 3 : D o w n l o a d S o f t E t h e r    

Y o u c a n d o w n l o a d t h e l a t e s t S o f t E t h e r s e r v e r p a c k a g e f o r L i n u x f r o m t h e i r w e b s i t e :  

D o w n l o a d S o f t E t h e r    

U n f o r t u n a t e l y , t h e r e i s n o w a y o f g e t t i n g t h e l a t e s t v e r s i o n t h r o u g h p a c k a g e m a n a g e r s      

( o r e v e n u s i n g a s i n g l e u r l ) a t t h e m o m e n t . T h e r e f o r e y o u h a v e t o b r o w s e t h e i r w e b s i t e      

u s i n g a d e s k t o p b r o w s e r t o d o w n l o a d t h e p a c k a g e . T h e r e a r e a c o u p l e o f w a y s o f    

d e a l i n g w i t h t h i s : F i r s t , b r o w s e t h e i r w e b s i t e o n y o u r o w n c o m p u t e r a n d t h e n      

d e p e n d i n g o n y o u r s e r v e r c o n f i g u r a t i o n ( O S , x 8 6 / x 6 4 , e t c . ) f i n d t h e l i n k t o t h e      

a p p r o p r i a t e p a c k a g e t h e n u s e w g e t     t o d o w n l o a d t h e p a c k a g e t o y o u r s e r v e r .  

A l t e r n a t i v e l y , y o u c a n u s e a t e r m i n a l b a s e d w e b b r o w s e r s u c h a s l y n x       t o b r o w s e t h e      

S o f t E t h e r w e b s i t e a n d d o w n l o a d t h e r i g h t p a c k a g e .  

H e r e ' s h o w t o d o i t u s i n g l y n x :    

F i r s t i n s t a l l l y n x o n y o u r s e r v e r :  

D e b i a n / U b u n t u :    

Page 3: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 3/24

C e n t O S / F e d o r a :    

N o w u s i n g t h e c o m m a n d b e l o w b r o w s e t h e S o f t E t h e r d o w n l o a d w e b p a g e :  

T h i s p a g e c o n t a i n s a l l v e r s i o n s o f t h e S o f t E t h e r a v a i l a b l e . C h o o s e w h i c h v e r s i o n y o u      

w a n t ( i n t h i s t u t o r i a l w e u s e v 2 . 0 0 - 9 3 8 7 - r t m - 2 0 1 3 . 0 9 . 1 6 ) a n d t h e n p r e s s E n t e r t o g o t o      

t h e l i n k . N o w c h o o s e L i n u x       a n d i n t h e n e x t p a g e c h o o s e S o f t E t h e r V P N S e r v e r    . 

D e p e n d i n g o n y o u r s e r v e r h a r d w a r e a r c h i t e c t u r e , c h o o s e a p a c k a g e ; t h e 3 2 b i t - I n t e l  

x 8 6     a n d 6 4 b i t - I n t e l x 6 4 o r A M D 6 4         w o r k f o r D i g i t a l O c e a n 3 2 b i t o r 6 4 b i t d r o p l e t s .  

F i n a l l y d o w n l o a d t h e t a r f i l e f r o m t h e n e x t p a g e b y p r e s s i n g t h e " D " k e y o n t h e l i n k , a n d      

Page 4: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 4/24

c h o o s e " S a v e t o d i s k " w h e n a s k e d b y L y n x . A f t e r t h e f i l e i s s a v e d , w e c a n p r e s s " Q " t o      

q u i t L y n x a n d m o v e o n w i t h t h e i n s t a l l a t i o n .  

S t e p 4 : I n s t a l l a n d C o n f i g u r e S o f t E t h e r    

N o w w e h a v e t o e x t r a c t t h e p a c k a g e w e r e c e i v e d f r o m t h e S o f t E t h e r d o w n l o a d p a g e      

a n d c o m p i l e i t . T h e p a c k a g e u s e d i n t h i s t u t o r i a l i s n a m e d s o f t e t h e r - v p n s e r v e r - v 2 . 0 0 -    

9 3 8 7 - r t m - 2 0 1 3 . 0 9 . 1 6 - l i n u x - x 8 6 - 3 2 b i t . t a r . g z       s o w e w i l l e x t r a c t i t u s i n g t h e c o m m a n d      

b e l o w :  

 

A f t e r e x t r a c t i n g i t , a d i r e c t o r y n a m e d  v p n s e r v e r   w i l l b e c r e a t e d i n t h e w o r k i n g f o l d e r . I n      

o r d e r t o c o m p i l e S o f t E t h e r , t h e f o l l o w i n g t o o l s a n d p a c k a g e s m u s t b e i n s t a l l e d o n y o u r    

s e r v e r :  

m a k e      , g c c b i n u t i l s ( g c c )    , l i b c ( g l i b c )    , z l i b      , o p e n s s l  , r e a d l i n e      , a n d n c u r s e s      

M a k e s u r e t h e s e a r e i n s t a l l e d . Y o u c a n i n s t a l l a l l t h e p a c k a g e s n e c e s s a r y t o b u i l d      

S o f t E t h e r u s i n g t h e c o m m a n d b e l o w :  

D e b i a n / U b u n t u :    

C e n t O S / F e d o r a :    

N o t e :     O n F e d o r a , I h a v e f o u n d t h a t t h e  g c c    p a c k a g e d o e s n ' t g e t i n s t a l l e d u s i n g t h e      

c o m m a n d a b o v e s o y o u h a v e t o i n s t a l l i t m a n u a l l y u s i n g  y u m i n s t a l l g c c   . 

Page 5: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 5/24

N o w t h a t w e h a v e a l l t h e n e c e s s a r y p a c k a g e s i n s t a l l e d , w e c a n c o m p i l e S o f t E t h e r u s i n g      

t h e f o l l o w i n g c o m m a n d :  

F i r s t " c d " i n t o  v p n s e r v e r   d i r e c t o r y :  

A n d n o w r u n " m a k e " t o c o m p i l e S o f t E t h e r i n t o a n e x e c u t a b l e f i l e :  

S o f t E t h e r w i l l a s k y o u t o r e a d a n d a g r e e w i t h i t s L i c e n s e A g r e e m e n t . S e l e c t 1  

t o r e a d      

t h e a g r e e m e n t , a g a i n t o c o n f i r m r e a d , a n d f i n a l l y t o a g r e e t o t h e L i c e n s e A g r e e m e n t .  

S o f t E t h e r i s n o w c o m p i l e d a n d m a d e i n t o e x e c u t a b l e f i l e s ( v p n s e r v e r a n d v p n c m d ) . I f    

Page 6: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 6/24

t h e p r o c e s s f a i l s , c h e c k i f y o u h a v e a l l o f t h e r e q u i r e m e n t p a c k a g e s i n s t a l l e d .  

N o w t h a t S o f t E t h e r i s c o m p i l e d w e c a n m o v e t h e  v p n s e r v e r   d i r e c t o r y t o s o m e p l a c e      

e l s e , h e r e w e m o v e i t t o u s r / l o c a l  : 

A n d t h e n c h a n g e t h e f i l e s p e r m i s s i o n i n o r d e r t o p r o t e c t t h e m :  

I f y o u l i k e S o f t E t h e r t o s t a r t a s a s e r v i c e o n s t a r t u p c r e a t e a f i l e n a m e d  v p n s e r v e r   i n   

/ e t c / i n i t . d       d i r e c t o r y a n d c h a n g e i t t o t h e f o l l o w i n g :  

F i r s t c r e a t e a n d o p e n t h e f i l e u s i n g

o r   : 

A n d p a s t e t h e f o l l o w i n g i n t o t h e f i l e :  

Page 7: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 7/24

F i n a l l y s a v e a n d c l o s e t h e f i l e b y p r e s s i n g e s c    a n d t y p i n g : w q    t o c l o s e v i m .  

W e h a v e t o m a k e a d i r e c t o r y a t / v a r / l o c k / s u b s y s       i f o n e d o e s n o t e x i s t :  

N o w c h a n g e t h e p e r m i s s i o n f o r t h e s t a r t u p s c r i p t a n d s t a r t  v p n s e r v e r   u s i n g c o m m a n d      

b e l o w :  

U s e t h e c o m m a n d b e l o w m a k e i t t o r u n a t s t a r t u p :  

D e b i a n / U b u n t u :    

C e n t O S / F e d o r a :    

Page 8: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 8/24

S o f t E t h e r V P N S e r v e r i s n o w i n s t a l l e d a n d c o n f i g u r e d t o r u n a t s t a r t u p . F i n a l l y , w e h a v e      

t o c h e c k i f t h e V P N s e r v e r i s w o r k i n g :  

N o w p r e s s 3   

t o c h o o s e U s e o f V P N T o o l s       a n d t h e n t y p e :  

I f a l l o f t h e c h e c k s p a s s , t h e n y o u r s e r v e r i s r e a d y t o b e a S o f t E t h e r V P N s e r v e r a n d y o u      

c a n m o v e o n t o t h e n e x t s t e p . T y p e " e x i t " t o e x i t V P N T o o l s      . 

T h e r e a r e t w o w a y s t o c o n f i g u r e S o f t E t h e r V P N s e r v e r : y o u c a n u s e t h e W i n d o w s b a s e d      

s e r v e r m a n a g e r t o m a n a g e a n d c o n f i g u r e a n y n u m b e r o f S o f t E t h e r V P N s e r v e r s f r o m        

r e m o t e l y ; o r u s e t h e b u i l t - i n  v p n c m d    t o o l t o c o n f i g u r e y o u r s e r v e r s .  

Y o u c a n d o w n l o a d S o f t E t h e r S e r v e r M a n a g e r f o r W i n d o w s u s i n g t h e i r w e b s i t e a n d d o      

t h e c o n f i g u r a t i o n u s i n g t h e G U I t h a t i t p r o v i d e s , w h i c h i s a p r e f e r a b l e w a y i f y o u a r e a      

W i n d o w s u s e r .  

H e r e w e u s e  v p n c m d    t o c o n f i g u r e o u r V P N s e r v e r .  

S t e p 5 : C h a n g e A d m i n P a s s w o r d      

N o w t h a t y o u h a v e S o f t E t h e r V P N s e r v e r i n s t a l l e d , y o u h a v e t o a s s i g n a n a d m i n i s t r a t o r    

p a s s w o r d i n o r d e r t o u s e w i t h S o f t E t h e r . Y o u c a n d o t h i s u s i n g  v p n c m d    w h i c h i s      

S o f t E t h e r ' s c o m m a n d l i n e b a s e d a d m i n i s t r a t i o n t o o l :  

Page 9: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 9/24

P r e s s 1  

t o s e l e c t " M a n a g e m e n t o f V P N S e r v e r o r V P N B r i d g e " , t h e n p r e s s E n t e r w i t h o u t    

t y p i n g a n y t h i n g t o c o n n e c t t o t h e l o c a l h o s t s e r v e r , a n d a g a i n p r e s s E n t e r w i t h o u t    

i n p u t t i n g a n y t h i n g t o c o n n e c t t o s e r v e r b y s e r v e r a d m i n m o d e .  

T h e n u s e c o m m a n d b e l o w t o c h a n g e a d m i n p a s s w o r d :  

S t e p 6 : C r e a t e A V i r t u a l H u b      

T o u s e S o f t E t h e r w e m u s t f i r s t c r e a t e a V i r t u a l H u b . H e r e a s a n e x a m p l e w e c r e a t e a      

h u b n a m e d V P N     , i n o r d e r t o d o t h a t e n t e r c o m m a n d b e l o w i n t h e  v p n c m d    t o o l :  

N e x t y o u w i l l b e a s k e d t o e n t e r a n a d m i n i s t r a t o r p a s s w o r d f o r t h e h u b . T h i s p a s s w o r d      

w i l l b e u s e d w h e n e v e r y o u a r e n o t l o g g e d i n a s s e r v e r a d m i n       m o d e , a n d y o u w a n t t o      

m a n a g e t h a t s p e c i f i c h u b .  

N o w s e l e c t t h e V i r t u a l H u b y o u c r e a t e d u s i n g t h i s c o m m a n d :  

S t e p 7 : E n a b l e S e c u r e N A T      

T h e r e a r e t w o w a y s o f c o n n e c t i n g y o u r h u b s t o t h e s e r v e r n e t w o r k : u s i n g a L o c a l  

B r i d g e c o n n e c t i o n o r u s i n g t h e S e c u r e N A T f u n c t i o n .  

Y o u c a n u s e e a c h o n e s e p a r a t e l y , b u t u s i n g t h e s e t w o t o g e t h e r w i l l c a u s e p r o b l e m s .  

H e r e w e u s e S e c u r e N A T , w h i c h i s v e r y e a s y t o s e t u p a n d w o r k s p r e t t y w e l l i n m o s t    

Page 10: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 10/24

s i t u a t i o n s . Y o u c o u l d a l s o u s e L o c a l B r i d g e , b u t t h e n y o u h a v e t o i n s t a l l a n d c o n f i g u r e a      

D H C P S e r v e r t o o .  

S e c u r e N A T i s a c o m b i n a t i o n o f V i r t u a l N A T a n d D H C P S e r v e r f u n c t i o n . Y o u c a n e n a b l e      

S e c u r e N A T u s i n g t h e c o m m a n d b e l o w :  

S t e p 8 : C r e a t e a n d M a n a g e U s e r s      

N o w w e h a v e t o c r e a t e u s e r s f o r o u r V i r t u a l H u b t o u s e t h e V P N . W e c a n c r e a t e u s e r s      

f o r o u r V i r t u a l H u b u s i n g t h e c o m m a n d U s e r C r e a t e       a n d v i e w t h e l i s t o f c u r r e n t u s e r s b y      

U s e r L i s t    . U s e r s c a n b e a d d e d t o g r o u p s a n d c a n e v e n h a v e d i f f e r e n t t y p e s o f    

a u t h e n t i c a t i o n m o d e s ( i n c l u d i n g : P a s s w o r d , C e r t i f i c a t e , R A D I U S , N T L M , e t c . ) .  

B y u s i n g c o m m a n d U s e r C r e a t e       w e c r e a t e a u s e r n a m e d " t e s t " :  

T h e d e f a u l t t y p e o f a u t h e n t i c a t i o n i s P a s s w o r d b u t w e c a n c h a n g e i t t o a d i f f e r e n t t y p e      

u s i n g c o m m a n d s b e l o w :  

f o r N T D o m a i n A u t h e n t i c a t i o n      

f o r P a s s w o r d A u t h e n t i c a t i o n      

f o r A n o n y m o u s A u t h e n t i c a t i o n      

f o r R A D I U S A u t h e n t i c a t i o n      

f o r I n d i v i d u a l C e r t i f i c a t e A u t h e n t i c a t i o n      

f o r S i g n e d C e r t i f i c a t e A u t h e n t i c a t i o n      

Page 11: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 11/24

I n t h i s t u t o r i a l w e u s e P a s s w o r d a s t h e u s e r a u t h e n t i c a t i o n m o d e f o r o u r t e s t     u s e r , s o      

u s i n g t h i s c o m m a n d s e t a p a s s w o r d f o r u s e r t e s t    : 

S t e p 9 : S e t u p L 2 T P / I P S e c      

T o e n a b l e L 2 T P / I P s e c V P N s e r v e r y o u c a n u s e t h e c o m m a n d b e l o w :  

A f t e r e n t e r i n g t h i s c o m m a n d , y o u w i l l b e a s k e d t o c o n f i g u r e t h e L 2 T P s e r v e r f u n c t i o n s :  

E n a b l e L 2 T P o v e r I P s e c S e r v e r F u n c t i o n      : C h o o s e  y e s    t o e n a b l e L 2 T P V P N o v e r I P S e c      

w i t h p r e - s h a r e d k e y e n c r y p t i o n . N o w y o u c a n m a k e V P N c o n n e c t i o n s t o t h i s s e r v e r    

u s i n g i P h o n e , A n d r o i d , W i n d o w s , a n d M a c O S X d e v i c e s .  

E n a b l e R a w L 2 T P S e r v e r F u n c t i o n      : T h i s w i l l e n a b l e L 2 T P V P N f o r c l i e n t s w i t h n o I P S e c      

e n c r y p t i o n .  

E n a b l e E t h e r I P / L 2 T P v 3 o v e r I P s e c S e r v e r F u n c t i o n      : R o u t e r s w h i c h a r e c o m p a t i b l e      

w i t h E t h e r I P / L 2 T P v 3 o v e r I P s e c c a n c o n n e c t t o t h i s s e r v e r b y e n a b l i n g t h i s f u n c t i o n .  

P r e S h a r e d K e y f o r I P s e c      : E n t e r a p r e - s h a r e d k e y t o u s e w i t h L 2 T P V P N .  

D e f a u l t V i r t u a l H U B i n a c a s e o f o m i t t i n g t h e H U B o n t h e U s e r n a m e      : U s e r s m u s t    

s p e c i f y t h e V i r t u a l H u b t h e y a r e t r y i n g t o c o n n e c t t o b y u s i n g      

U s e r n a m e @ T a r g e t H u b N a m e       a s t h e i r u s e r n a m e w h e n c o n n e c t i n g . T h i s o p t i o n s p e c i f i e s      

w h i c h V i r t u a l H u b t o b e u s e d i f t h e u s e r d o e s n o t p r o v i d e s u c h i n f o r m a t i o n . I n o u r c a s e      

e n t e r V P N    . 

S t e p 1 0 : S e t u p S S T P / O p e n V P N        

Page 12: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 12/24

T h e S o f t E t h e r c a n c l o n e t h e f u n c t i o n s o f M i c r o s o f t S S T P V P N S e r v e r a n d O p e n V P N        

S e r v e r . B u t b e f o r e w e e n a b l e t h e s e w e h a v e t o g e n e r a t e a s e l f - s i g n e d S S L c e r t i f i c a t e      

f o r o u r s e r v e r . Y o u c a n u s e o p e n s s l o r S o f t E t h e r ' s o w n c o m m a n d t o g e n e r a t e a S S L      

c e r t i f i c a t e .  

H e r e w e u s e S o f t E t h e r ' s S e r v e r C e r t R e g e n e r a t e       c o m m a n d t o g e n e r a t e a n d r e g i s t e r a      

s e l f - s i g n e d S S L c e r t i f i c a t e f o r o u r s e r v e r . T h e a r g u m e n t p a s s e d t o c o m m a n d i s C N        

( C o m m o n N a m e ) , a n d m u s t b e s e t t o y o u r h o s t n a m e ( F Q D N ) o r I P a d d r e s s :  

N o t e 1 :     S o f t E t h e r a l s o c o m e s w i t h a b u i l t - i n D y n a m i c D N S         f u n c t i o n , w h i c h c a n a s s i g n a      

u n i q u e a n d p e r m a n e n t h o s t n a m e f o r y o u r s e r v e r . Y o u c a n u s e t h e h o s t n a m e a s s i g n e d      

b y t h i s f u n c t i o n f o r c r e a t i n g a S S L C e r t i f i c a t e a n d c o n n e c t i n g t o y o u r s e r v e r .  

N o t e 2 :     I f y o u a l r e a d y h a v e a S S L c e r t i f i c a t e o r y o u h a v e c r e a t e d o n e u s i n g o p e n s s l  , i t    

c a n b e a d d e d t o t h e s e r v e r u s i n g t h e c o m m a n d . 

N o w t h a t w e h a v e c r e a t e d t h e c e r t i f i c a t e , w e h a v e t o d o w n l o a d t h e c e r t i f i c a t e t o o u r    

c l i e n t s a n d a d d t h e m a s t r u s t e d . U s i n g t h e c o m m a n d b e l o w , w e s a v e t h e s e r v e r    

c e r t i f i c a t e i n t o a f i l e n a m e d c e r t . c e r    : 

N o w y o u c a n d o w n l o a d t h e c e r t i f i c a t e t o y o u r c l i e n t u s i n g F i l e Z i l l a o r a n y o t h e r S F T P      

C l i e n t .  

T o m a k e t h e c e r t i f i c a t e t r u s t e d i n W i n d o w s , y o u h a v e t o i n s t a l l i t i n t h e T r u s t e d R o o t    

C e r t i f i c a t i o n A u t h o r i t i e s       s t o r e . H e r e ' s a n a r t i c l e e x p l a i n i n g h o w ( r e a d t h e T o i n s t a l l a      

c e r t i f i c a t e c h a i n       p a r t ) :  

I n s t a l l i n g a C e r t i f i c a t e C h a i n      

Page 13: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 13/24

N o w t h a t w e h a v e c r e a t e d a n d r e g i s t e r e d a S S L C e r t i f i c a t e f o r o u r s e r v e r , w e c a n      

e n a b l e S S T P f u n c t i o n w i t h t h i s c o m m a n d :  

A n d t o e n a b l e O p e n V P N :  

N o t e :     O p e n V P N ' s d e f a u l t p o r t i s 1 1 9 4 , b u t y o u c a n c h a n g e i t t o a n y p o r t y o u w a n t b y      

c h a n g i n g t h e / P O R T S : 1 1 9 4         p a r t o f t h e c o m m a n d a b o v e t o y o u r d e s i r e d p o r t o r p o r t s      

( y e s i t s u p p o r t s m u l t i p l e p o r t s ) .  

A f t e r y o u e n a b l e d O p e n V P N , y o u c a n d o w n l o a d a s a m p l e c o n f i g u r a t i o n f i l e f o r    

O p e n V P N c l i e n t . H e r e w e c r e a t e a s a m p l e O p e n V P N c o n f i g u r a t i o n f i l e a n d s a v e i t t o      

m y    o p v p c o n f i g . z i p      : 

T h e n y o u c a n d o w n l o a d i t u s i n g a n y S F T P c l i e n t s u c h a s F i l e Z i l l a a n d a p p l y i t t o y o u r    

O p e n V P N c l i e n t s .  

S o f t E t h e r a l s o p r o v i d e s a d e d i c a t e d V P N C l i e n t s o f t w a r e f o r b o t h W i n d o w s a n d L i n u x . I t    

s u p p o r t s a S o f t E t h e r s p e c i f i c p r o t o c o l c a l l e d E t h e r n e t o v e r H T T P S         o r S S L - V P N         w h i c h i s      

v e r y p o w e r f u l . I t u s e s H T T P S p r o t o c o l a n d p o r t 4 4 3 i n o r d e r t o e s t a b l i s h a V P N t u n n e l ,  

a n d b e c a u s e t h i s p o r t i s w e l l - k n o w n , a l m o s t a l l f i r e w a l l s , p r o x y s e r v e r s a n d N A T s c a n      

p a s s t h e p a c k e t . I n o r d e r t o u s e S S L - V P N p r o t o c o l , y o u m u s t d o w n l o a d a n d i n s t a l l  

S o f t E t h e r V P N C l i e n t , w h i c h c a n b e o b t a i n e d f r o m t h e i r w e b s i t e .  

S t e p 1 1 : C o n n e c t i n g t o S o f t E t h e r V P N S e r v e r    

Page 14: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 14/24

( C l i e n t C o n f i g u r a t i o n )  

S i n c e S o f t E t h e r i s a m u l t i - p r o t o c o l V P N s e r v e r , t h e r e a r e m a n y w a y s t o c o n n e c t t o i t a s      

a c l i e n t . Y o u c a n c h o o s e a n y p r o t o c o l t o e s t a b l i s h a s e c u r e c o n n e c t i o n t o y o u r s e r v e r ,  

i n c l u d i n g L 2 T P , S S T P , O p e n V P N a n d a n e x c l u s i v e t o S o f t E t h e r p r o t o c o l n a m e d S S L -    

V P N .  

D e p e n d i n g o n t h e c l i e n t o p e r a t i n g s y s t e m a n d c o n f i g u r a t i o n s , y o u c o u l d u s e a n y o f t h e      

m e n t i o n e d p r o t o c o l s . H o w e v e r , I p r e f e r t o u s e S S L - V P N s i n c e i t ' s b o t h s e c u r e a n d f a s t ,  

a n d a l s o a s m e n t i o n e d b e f o r e s i n c e i t u s e s a c o m m o n a n d w e l l - k n o w n p o r t ( 4 4 3 o r    

h t t p s - p o r t ) , i t c a n p e n e t r a t e m o s t o f t h e f i r e w a l l s .  

H e r e w e u s e S o f t E t h e r ' s o w n V P N c l i e n t s o f t w a r e t o c o n n e c t t o o u r s e r v e r :  

F i r s t d o w n l o a d t h e S o f t E t h e r V P N C l i e n t f o r L i n u x f r o m S o f t E t h e r ' s w e b s i t e . W e c a n      

d o w n l o a d i t u s i n g a l y n x       b r o w s e r . E n t e r t h i s c o m m a n d t o o p e n S o f t E t h e r ' s d o w n l o a d      

p a g e :  

T h e n j u s t a s y o u d i d w h e n d o w n l o a d i n g t h e S e r v e r s o f t w a r e , s e l e c t t h e l a t e s t v e r s i o n      

( H e r e w e u s e d  v 2 . 0 0 - 9 3 8 7 - r t m - 2 0 1 3 . 0 9 . 1 6     ) . N o w c h o o s e L i n u x       a n d i n t h e n e x t p a g e      

c h o o s e S o f t E t h e r V P N C l i e n t    . N o w d e p e n d i n g o n y o u r s y s t e m ' s h a r d w a r e a r c h i t e c t u r e ,  

c h o o s e a p a c k a g e ( T h e 3 2 b i t - I n t e l x 8 6         a n d 6 4 b i t - I n t e l x 6 4 o r A M D 6 4         w o r k s f o r    

D i g i t a l O c e a n 3 2 b i t o r 6 4 b i t d r o p l e t s ) . F i n a l l y d o w n l o a d t h e t a r f i l e f r o m t h e n e x t p a g e      

b y p r e s s i n g t h e " D " k e y o n t h e l i n k , a n d c h o o s e S a v e t o d i s k       w h e n a s k e d b y L y n x . A f t e r    

t h e f i l e i s s a v e d , p r e s s " Q " t o q u i t L y n x .  

E x t r a c t t h e t a r f i l e y o u j u s t d o w n l o a d e d u s i n g t h i s c o m m a n d :  

Page 15: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 15/24

N o t e :     C h a n g e

t o y o u r d o w n l o a d e d f i l e ' s n a m e .  

N o w j u s t a s w e d i d w i t h t h e s e r v e r , w e h a v e t o c o m p i l e a n d m a k e v p n c l i e n t a n      

e x e c u t a b l e f i l e b y r u n n i n g t h e s e c o m m a n d s ( m a k e s u r e y o u h a v e t h e d e v e l o p m e n t    

t o o l s m e n t i o n e d i n S t e p 4         i n s t a l l e d o n c l i e n t ) :  

E n t e r 1  

t h r e e t i m e s w h e n a s k e d t o r e a d a n d a c c e p t t h e L i c e n s e A g r e e m e n t , a n d t h e n      

m o v e t h e f i l e s t o a n o t h e r d i r e c t o r y a n d c h a n g e p e r m i s s i o n s :  

T h e n s t a r t t h e V P N c l i e n t s e r v i c e u s i n g t h i s c o m m a n d :  

T o c o n f i g u r e o u r c l i e n t , w e ' r e g o i n g t o u s e . W h i l e y o u ' r e i n t h e  v p n c l i e n t  

d i r e c t o r y e n t e r t h i s c o m m a n d t o r u n

t o o l :  

C h o o s e 2   

t o e n t e r M a n a g e m e n t o f V P N C l i e n t     m o d e , a n d t h e n p r e s s e n t e r t o c o n n e c t    

t o a n d m a n a g e t h e l o c a l V P N c l i e n t y o u j u s t i n s t a l l e d .  

Page 16: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 16/24

S o f t E t h e r u s e s V i r t u a l A d a p t e r s t o e s t a b l i s h a c o n n e c t i o n t o o u r V P N s e r v e r , u s i n g t h i s      

c o m m a n d c r e a t e a V i r t u a l A d a p t e r n a m e d m y a d a p t e r    : 

N o w u s i n g t h i s c o m m a n d , c r e a t e a n e w V P N c o n n e c t i o n n a m e d m y c o n n e c t i o n      : 

T h e n e n t e r y o u r S o f t E t h e r V P N s e r v e r ' s I P a n d P o r t n u m b e r . T h e p o r t n u m b e r c o u l d b e      

a n y p o r t t h a t y o u h a v e s e t a s l i s t e n i n g o n y o u r s e r v e r . B y d e f a u l t , S o f t E t h e r l i s t e n s o n      

t h e s e f o u r p o r t s : 4 4 3 , 9 9 2 , 1 1 9 4 , 5 5 5 5 . H e r e a s a n e x a m p l e w h e r e w e u s e p o r t 4 4 3 :  

N o t e :     I n s t e a d o f a n I P A d d r e s s , y o u c o u l d a l s o e n t e r y o u s e r v e r ' s f u l l y q u a l i f i e d d o m a i n      

n a m e ( F Q D N ) .  

N o w e n t e r t h e n a m e o f t h e V i r t u a l H u b y o u ' r e t r y i n g t o c o n n e c t t o o n y o u r s e r v e r . I n o u r    

c a s e i t i s n a m e d V P N    : 

T h e n e n t e r t h e u s e r n a m e o f a u s e r y o u c r e a t e d i n y o u r s e r v e r . W e c r e a t e d a u s e r c a l l e d      

t e s t    : 

A n d f i n a l l y e n t e r t h e n a m e o f t h e V i r t u a l H u b y o u j u s t c r e a t e d :  

Page 17: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 17/24

N o w o u r V P N c o n n e c t i o n h a s b e e n c r e a t e d a n d i t ' s r e a d y t o b e c o n n e c t e d . O n e l a s t    

s t e p i s t o c h a n g e t h e A u t h e n t i c a t i o n m o d e t o P a s s w o r d       s i n c e t h a t ' s h o w w e c o n f i g u r e d      

o u r u s e r ' s a u t h e n t i c a t i o n m o d e i n t h e s e r v e r :  

W h e n a s k e d f o r , e n t e r s t a n d a r d       a s p a s s w o r d a u t h e n t i c a t i o n m e t h o d :  

F i n a l l y w e c a n c o n n e c t o u r c o n n e c t i o n - - u s e t h i s c o m m a n d t o d o t h a t :  

Y o u c a n s e e t h e c o n n e c t i o n s t a t u s u s i n g t h i s c o m m a n d :  

N o t e :     I n o r d e r t o m a k e y o u r c o n n e c t i o n t o t h e s e r v e r m o r e s e c u r e a n d p r e v e n t m a n - i n -    

t h e - m i d d l e a t t a c k s , i t ' s b e s t t o u s e a S S L c e r t i f i c a t e t o i d e n t i f y y o u r s e r v e r . T h i s c a n b e      

d o n e e a s i l y u s i n g S o f t E t h e r . T o d o t h a t , f i r s t y o u m u s t d o w n l o a d t h e c e r t f i l e t o y o u r    

c l i e n t a s e x p l a i n e d i n S t e p 1 0         a n d t h e n u s i n g C e r t A d d       a d d i t t o y o u r c l i e n t ' s t r u s t e d      

c e r t i f i c a t e s . T h e n , u s i n g c o m m a n d e n a b l e c e r t i f i c a t e      

v e r i f i c a t i o n f o r y o u r V P N c o n n e c t i o n .  

F i n i s h i n g U p      

I n t h i s a r t i c l e , w e w e n t t h r o u g h t h e p r o c e s s o f s e t t i n g u p a S o f t E t h e r V P N S e r v e r u s i n g      

Page 18: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 18/24

S u b m i t t e d b y : N i m a K a r i m i  

 v p n c m d    w h i c h i s a c o m m a n d l i n e a d m i n i s t r a t i o n u t i l i t y p r o v i d e d b y S o f t E t h e r . A l l t h e      

t h i n g s d o n e h e r e c o u l d a l s o b e d o n e u s i n g S o f t E t h e r S e r v e r M a n a g e r f o r W i n d o w s      , 

a n d i t ' s e v e n e a s i e r t o s e t u p a S o f t E t h e r V P N S e r v e r u s i n g t h a t t o o l . S o I r e c o m m e n d e d      

y o u t o u s e i t i f y o u h a v e a W i n d o w s m a c h i n e .  

T h a t ' s i t . W e h a v e s u c c e s s f u l l y i n s t a l l e d a n d c o n f i g u r e d a m u l t i - p r o t o c o l V P N s e r v e r    

u s i n g S o f t E t h e r . N o w c l i e n t s c a n c o n n e c t t o o u r s e r v e r u s i n g L 2 T P , I P S e c , S S T P ,  

O p e n V P N , e t c .  

3 8    H e a r t S u b s c r i b e

S h a r e       

S p i n u p a n S S D c l o u d s e r v e r i n u n d e r a m i n u t e .  

S i m p l e s e t u p . F u l l r o o t a c c e s s . S t r a i g h t f o r w a r d p r i c i n g .  

D E P L O Y S E R V E R          

R e l a t e d T u t o r i a l s      

H o w T o C r e a t e a H i g h A v a i l a b i l i t y H A P r o x y S e t u p w i t h C o r o s y n c , P a c e m a k e r , a n d F l o a t i n g      

I P s o . . .  

Page 19: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 19/24

H o w T o S e c u r e l y S e t U p S h i p y a r d 2 . 0 . 1 0 w i t h T L S o n C o r e O S      

H o w T o C r e a t e a H i g h A v a i l a b i l i t y S e t u p w i t h H e a r t b e a t a n d F l o a t i n g I P s o n U b u n t u 1 4 . 0 4      

H o w T o C r e a t e a H i g h A v a i l a b i l i t y S e t u p w i t h C o r o s y n c , P a c e m a k e r , a n d F l o a t i n g I P s o n      

U b u n t u . . .  

H o w T o U s e F l o a t i n g I P s o n D i g i t a l O c e a n      

6 2 C o m m e n t s      

L o g I n t o C o m m e n t    

a v e a c o m m e n t . . .  

a l h i n a i 2 1     N o v e m b e r 2 6 , 2 0 1 3        

T h a n k s f o r t h e t u t o r i a l

N o w i s t h e r e a n y w a y t o p r e v e n t s a m e u s e r a c c o u n t t o c o n n e c t f r o m t w o d i f f e r e n t d e v i c e a t  

s a m e t i m e i n L 2 T P / I P S e c c o n n e c t i o n      

a l h i n a i 2 1     N o v e m b e r 2 6 , 2 0 1 3        

J u s t f o u n d t h e o p t i o n i n g r o u p s e t t i n g s      

Page 20: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 20/24

e m a d d a o u       J a n u a r y 8 , 2 0 1 4   

T h a n k y o u f o r t h e i n f o r m a t i o n .  

D o i n e e d f i r e w a l l t o p r o t e c t t h e V P N s e r v e r ? D o e s i t f u n c t i o n a s f i r e w a l l a s w e l l ? i f i t d o e s ,  

t h e n I d o n ' t n e e d t o s e t u p a n o t h e r V P S t o p r o t e c t i t , i s n ' t i t ? t h a n k y o u .  

k a m a l n 7       J a n u a r y 9 , 2 0 1 4   

@ I m a d : A V P N s e r v e r s u c h a s S o f t E t h e r i s n o t a f i r e w a l l , y o u w i l l s t i l l n e e d t o f i r e w a l l y o u r    

d r o p l e t , s e e h t t p s : / / w w w . d i g i t a l o c e a n . c o m / c o m m u n i t y / a r t i c l e s / h o w - t o - s e t u p - a - f i r e w a l l - w i t h -    

u f w - o n - a n - u b u n t u - a n d - d e b i a n - c l o u d - s e r v e r .  

r i f f . s c h e l d e r      J a n u a r y 2 1 , 2 0 1 4   

I ' m t r y i n g t o c o n n e c t f r o m m a c t o m y v p n s e r v e r w i t h L 2 T P o v e r I P S e c , b u t i t w o n ' t c o n n e c t    

w i t h t h e e r r o r m e s s a g e " t h e l 2 t p - v p n s e r v e r d i d n o t r e s p o n d " . W h a t s h o u l d I d o ?      

1  

k a m a l n 7       J a n u a r y 2 2 , 2 0 1 4   

@ r i f f . s c h e l d e r : W h a t ' s t h e o u t p u t o f    

?   

J d d i m a s       J a n u a r y 2 4 , 2 0 1 4   

W i l l a $ 5 a m o n t h s e r v e r h a v e e n o u g h m e m o r y t o r u n t h i s ? A t m o s t I w i l l h a v e 3 c o n c u r r e n t    

c o n n e c t i o n s .  

b r a d m i n       J a n u a r y 2 7 , 2 0 1 4   

I ' m g e t t i n g t h e e r r o r m e s s a g e F a t a l E r r o r : T h e f i l e " h a m c o r e . s e 2 " i s m i s s i n g o r b r o k e n . w h e n    

I t r y t o r u n c h m o d 7 5 5 / e t c / i n i t . d / v p n s e r v e r & & / e t c / i n i t . d / v p n s e r v e r s t a r t    

s u d o c h m o d 7 5 5 / e t c / i n i t . d / v p n s e r v e r & & / e t c / i n i t . d / v p n s e r v e r s t a r t    

Page 21: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 21/24

- - A l e r t : S o f t E t h e r V P N K e r n e l - -    

F a t a l E r r o r : T h e f i l e " h a m c o r e . s e 2 " i s m i s s i n g o r b r o k e n .  

P l e a s e c h e c k h a m c o r e . s e 2 .  

( F i r s t , r e b o o t t h e c o m p u t e r . I f t h i s p r o b l e m o c c u r s a g a i n , p l e a s e r e i n s t a l l V P N s o f t w a r e f i l e s . )  

t o u c h : c a n n o t t o u c h â / v a r / l o c k / s u b s y s / v p n s e r v e r â : P e r m i s s i o n d e n i e d      

u b u n t u @ i p - 1 7 2 - 3 1 - 4 3 - 1 4 8 : / u s r / l o c a l / v p n s e r v e r $      

k a m a l n 7       J a n u a r y 2 8 , 2 0 1 4   

@ J d d i m a s : T h a t s h o u l d b e e n o u g h . I ' v e n e v e r u s e d S o f t E t h e r s o I d o n ' t k n o w h o w m u c h      

r e s o u r c e s i t u s e s b u t g i v e i t a s h o t : ]  

k a m a l n 7       J a n u a r y 2 8 , 2 0 1 4   

@ b r a d m i n : T r y r e b o o t i n g y o u r d r o p l e t a s t h e e r r o r a d v i s e s .  

 j e r r y h o u 8 5     J a n u a r y 2 9 , 2 0 1 4   

@ J d d i m a s i t ' s m o r e t h a n e n o u g h . I h a v e a n o d e w i t h o n l y 9 8 M w i t h 4 o r 5 u s e r s . T h e n o d e      

i s v e r y s t a b l e .  

t a t a n l e i   F e b r u a r y 1 , 2 0 1 4      

I m p o s i b l e c o n e c t a r m e d e s d e m i A n d r o i d c o n o p e n v p n s e t t i n g s : (    

D e s d e W i n d o w s , t o d o o k . . .  

J d d i m a s      F e b r u a r y 3 , 2 0 1 4      

T h a n k s e v e r y o n e !  

v i o l i a n c e      F e b r u a r y 1 8 , 2 0 1 4      

Page 22: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 22/24

T h a n k s f o r t h i s t u t o r i a l .  

I f o l l o w e d t h i s t u t o r i a l a n d t h e r e s u l t s n o t s e e m s t o b e w o r k i n g f o r m e .  

t h e s e r v e r i s C e n t o s 5 . 2 a n d t h e c l i e n t s a r e b o t h i o s a n d w i n d o w s 7 a n d a l s o S o f t e t h e r    

v p n c l i e n t ( r u n n i n g o n t h e w i n 7 )  

T h e v p n s e r v e r s e e m s t o c r e a t e d t o o m u c h s u c k e t , i s i t r i g h t ? ? ( t h e r e s u l t o f " n e t s t a t s - p l u t n |  

g r e p " v p n s e r v e r " h e r e : h t t p : / / g o o . g l / l W v f w 8 ) .  

b e s i d e i h a r d l y c o u l d c o n n e c t t o s e r v e r , a n d t h e r e s u l t s i s n o t f i n e . s p e e d i s s o l o w , t h a t 7 5 %    

p a c k e t l o s s o c c u r s i n a s i m p l e p i n g . n o p a g e o p e n s .

S o f t e t h e r v p n c l i e n t d r o p s t h e c o n n e c t i o n a f t e r A u t h e n t i c a t i o n a n d j u s t r i g h t o n t h e      

r e q u e s t i n g i p - a d d r e s s . ( w i t h E r r o r c o d e 1 3 : T i m e - o u t o c c u r r e d d u r i n g V P N s e s s i o n      

c o m m u n i c a t i o n . I t i s p o s s i b l e t h e c o n n e c t i o n f r o m t h e c l i e n t t o t h e V P N S e r v e r h a s b e e n      

d i s c o n n e c t e d . )  

i h a v e a f i r e w a l l w i t h o p e n u d p p o r t s o n 9 9 2 , 5 5 5 5 , 1 1 9 4 . a n d t c p , u d p p o r t s o n 4 4 3 .  

t h e l i s t e n e r p o r t s o n s o f t e t h e r v p n s e r v e r i s 4 4 3 , 9 9 2 , 5 5 5 5 a n d 1 1 9 4 .  

a n y h e l p ? ! w h a t i s w r o n g ?      

o b e d p a p u a      F e b r u a r y 2 0 , 2 0 1 4      

n i c e t u t o r i a l . . . k e e p y o u r g o o d w o o r k s      

2 2 2 2 2 2 2 2 2      M a r c h 1 3 , 2 0 1 4      

@ v i o l i a n c e      

@ b r a d m i n

s u d o v p n c l i e n t s t a r t    

T r y t o r u n w i t h s u d o c o m m a n d      

s t a n d r e w        M a r c h 2 2 , 2 0 1 4      

T h a n k s f o r t u t o r i a l ! b t w w h e n w e s e t u p S o f t E t h e r a s a s e r v i c e o n s t a r t u p u s i n g V i m b e f o r e      

p a s t e b a s h s c r i p t n e e d p r e s s " i " ( d i s p l a y " - - I N S E R T - - " b e l o w ) , t h e n p a s t e . A f t e r i t p r e s s E s c      

a n d t w i c e p r e s s S h i f t + z . P e r h a p s u s e f u l t o s o m e o n e .  

b u l l s n a k e s p a m        M a r c h 2 6 , 2 0 1 4      

I a m g e t t i n g a n e r r o r :  

O p e n V p n M a k e C o n f i g c o m m a n d - G e n e r a t e a S a m p l e S e t t i n g F i l e f o r O p e n V P N C l i e n t    

Page 23: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 23/24

T h i s w o r k i s l i c e n s e d u n d e r a C r e a t i v e      

C o m m o n s A t t r i b u t i o n - N o n C o m m e r c i a l -    

S h a r e A l i k e 4 . 0 I n t e r n a t i o n a l L i c e n s e .  

L o a d M o r e C o m m e n t s      

E r r o r o c c u r r e d . ( E r r o r c o d e : 5 2 )  

N o t e n o u g h p r i v i l e g e s .  

h e l p p l z : /    

k a m a l n 7      M a r c h 2 8 , 2 0 1 4      

@ b u l l s n a k e s p a m : Y o u h a v e t o r u n a l l c o m m a n d s a s r o o t . I f y o u r a c c o u n t h a s s u d o      

p r i v i l e g e s , y o u c a n r u n " s u d o - s " t o l o g i n t o t h e r o o t a c c o u n t .  

n e v    M a r c h 3 1 , 2 0 1 4      

H i , a l l m y u s e r s a r e s t o r e d i n t h e r a d i u s d a t a b a s e , d o I r e a l l y n e e d t o c r e a t e a l l t h e      

u s e r n a m e s i n S o f t E t h e r o r c a n I j u s t u s e r r a d i u s f o r b o t h u s e r n a m e / p a s s w o r d      

a u t h e n t i c a t i o n a n d a c c o u n t i n g ?      

T h x   

N e v   

Page 24: How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

7/23/2019 How to Setup a Multi-Protocol VPN Server Using SoftEther _ DigitalOcean

http://slidepdf.com/reader/full/how-to-setup-a-multi-protocol-vpn-server-using-softether-digitalocean 24/24

C o p y r i g h t © 2 0 1 5 D i g i t a l O c e a n ™ I n c .  

C o m m u n i t y T u t o r i a l s Q u e s t i o n s P r o j e c t s T a g s R S S

T e r m s , P r i v a c y , & C o p y r i g h t S e c u r i t y R e p o r t a B u g G e t P a i d t o W r i t e