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 02 Oct 2014, 05:07
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 Posts_count  
Author Message
nkanga

Joined: 20 Feb 2010
Posts: 1

PostPosted: Sat 20 Feb 2010, 10:53    Post_subject:  OPENVPN
Sub_title: 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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Networking
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0503s ][ Queries: 12 (0.0046s) ][ GZIP on ]