Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Jul 2014, 09:18
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking
OPENVPN
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
nkanga

Joined: 20 Feb 2010
Posts: 1

PostPosted: Sat 20 Feb 2010, 10:53    Post subject:  OPENVPN
Subject description: Help for openvpn
 

Help me for openvpn

Pentium II 233MHz Ram 192MB

Puppy work 100%

Help me only for install OPENVPN


Thank
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Fri 07 May 2010, 12:43    Post subject:  

install the openvpn pet from here:
http://www.murga-linux.com/puppy/viewtopic.php?t=13665

I have a openvpn configuration file with additional certificate files.
These I got from my account on the Astaro-firewall appliance from the company where I work.

I extracted them to /root/openvpn/.

Then I can create the tunnel with such a command:

Code:
modprobe tun
cd /root/openvpn/mu@212.56.21.96/
openvpn --config mu@212.56.21.96.ovpn


Then I enter username and password, and the tunnel establishes.
Now I can ping the remote machines in their private network in a second terminal, like
Code:
ping 172.16.4.10


I also can open the websites from the companies internal webserver by typing in a browser something like
http://172.16.4.10

I can connect to a windows desktop by typing:
Code:
tsclient -f

You can find a tsclient pet here:
http://www.murga-linux.com/puppy/viewtopic.php?t=31702

To simplify the steps, I wrote 2 scripts:

/usr/bin/mytunnel
Code:
#!/bin/bash

rxvt -e "/root/openvpn/connect" &

tsclient -f &


/root/openvpn/connect
Code:
#!/bin/bash

modprobe tun
cd /root/openvpn/mu@212.56.21.96/
openvpn --config mu@212.56.21.96.ovpn

read a


If you drag /usr/bin/mytunnel to your desktop, you can connect with a mouseclick, and just need to enter username and password in the terminal-window, and the values for the remote windows desktop in tsclient (save the settings there for future).

Mark

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Networking
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0456s ][ Queries: 11 (0.0070s) ][ GZIP on ]