Application:F5VPN

From WebOS Internals
Revision as of 15:36, 20 July 2009 by JohnTomawski (talk | contribs)
Jump to: navigation, search

1. Open root shell

2. Install Python

ipkg-opt install python24

Configuring bzip2 Configuring libdb Configuring libstdc++ Configuring ncursesw Configuring openssl Configuring python24 Configuring readline Configuring zlib

3. Download (GPLv3) F5 VPN Script (Written by James Knight)

wget http://fuhm.net/software/f5vpn-login/f5vpn-login.py

Usage: ./f5vpn-login.py [--{http,socks5}-proxy=host:port] [[user@]host]


4. Run VPN script with user@domain parameter

root@castle:/media/internal# ./f5vpn-login.py jtomawski@<hidden>1ssl.<hidden>.com password for jtomawski@<hidden>1ssl.<hidden>.com? Session id gotten: abcd22222456712345678123404376a9 Getting params... Got plugin params, execing vpn client PPPD LOG: 'Using interface ppp1\n' PPPD LOG: 'Connect: ppp1 <--> /dev/pts/2\n' PPPD LOG: 'local IP address <hidden>\nremote IP address <hidden>\n' CALLING ip_up('ppp1', '/dev/pts/2', '<hidden>', '<hidden>') VPN link is up!

5. Test network access by browsing to internal resource

Open internal wiki, etc.

6. Ctrl-C to shutdown VPN link

Shutting down pppd, please wait... Shut-down. root@castle:/media/internal#

Screen captures:

<img>http://i26.tinypic.com/157oynq.png</img> <img>http://i29.tinypic.com/24est8z.png</img>