[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] fixed client's ip


  • Subject: Re: [Openvpn-users] fixed client's ip
  • From: Mathias Sundman <mathias@xxxxxxxxxx>
  • Date: Fri, 1 Jul 2005 17:39:46 +0200 (CEST)

On Fri, 1 Jul 2005, Wlodek Wiszka wrote:

I'm testing openvpn solution (server on linux, clients on win & mac os). I'm wondering, if there is a way to keep the client's address fixed. The point is, that after setting up the vpn connection from the client, I run a vnc session. I then start an application on the server, but want to have local printing from it, i.e. vpn client's computer is to be a print server (smb).

Yes, there are three ways.

1) Use --client-config-dir and assign a unique IP address to each client through a config file for each CN.

2) Use a --client-connect script and return a unique IP address based on the CN of the connecting user.

3) Use --ifconfig-pool-persist with seconds=0 and add your users to the file prior to starting the openvpn server.

See the man page for info about each directive.

/Mathias

--
_____________________________________________________________
Mathias Sundman                  (^)   ASCII Ribbon Campaign
OpenVPN GUI for Windows           X    NO HTML/RTF in e-mail
http://openvpn.se/               / \   NO Word docs in e-mail

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-07/msg00005.html on line 197

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-07/msg00005.html on line 197