|
Page 2 of 2 |
|
Prev |
1 2
|
Re: openVPN on N900 - configuring route to internet via VPN server (Win XP)
not sure what you mean - openvpn has a client app for the n900, and also a GUI front end that lets you control the connection from the phone's status menu. You can download them from the repo's.
openvpn is also available for linux/windows, just download & install. It comes with sample conf files, how you tweak them depends on what you want to achieve - the ones in my first post are specific to my own requirements but would serve as a guide if you have a similar setup in mind. |
Re: openVPN on N900 - configuring route to internet via VPN server (Win XP)
Quote:
Run Connect/Disconnect/Preconnect Scripts ----------------------------------------- There are three diffrent scripts that OpenVPN GUI can execute to help with diffrent tasks like mapping network drives. Preconnect If a file named "xxx_pre.bat" exist in the config folder where xxx is the same as your OpenVPN config file name, this will be executed BEFORE the OpenVPN tunnel is established. Connect If a file named "xxx_up.bat" exist in the config folder where xxx is the same as your OpenVPN config file name, this will be executed AFTER the OpenVPN tunnel is established. Disconnect If a file named "xxx_down.bat" exist in the config folder where xxx is the same as your OpenVPN config file name, this will be executed BEFORE the OpenVPN tunnel is closed. as specified in http://openvpn.se/install.txt anything like this? |
Re: openVPN on N900 - configuring route to internet via VPN server (Win XP)
that applies to a windows version of the openvpn GUI (it uses .bat files). I don't know if the openvpn GUI/applet on the n900 supports autorun of shell scripts with appropriate naming, you'd need to check that with the maintainer. If not, using the up/route-up directives in the .conf file like I said should hopefully do what you want, as they also provide the means to run any desired commands from a shell script after the vpn connection has been established and route(s) are set up.
|
Re: openVPN on N900 - configuring route to internet via VPN server (Win XP)
Quote:
basically, i make sure the N900 has a valid route to my VPN server, and then define that server's gateway as default gateway. works like a charm ;) Quote:
check the openvpn documentation for "scripting variables". oh, and you _have_ to set "script-security 2", otherwise no scripts will be called. |
| All times are GMT. The time now is 23:00. |
Page 2 of 2 |
|
Prev |
1 2
|
vBulletin® Version 3.8.8