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

Re: [Openvpn-users] Re: Re: IP Allocation


  • Subject: Re: [Openvpn-users] Re: Re: IP Allocation
  • From: Helder Miguel Gaspar Rodrigues <crash@xxxxxxxx>
  • Date: Wed, 12 Jan 2005 18:14:57 +0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I got this line too:
Jan 12 17:53:26 xpto openvpn-local[1517]:
wifi.frew.org/192.168.1.11:5000 client-connect command failed: could not
execute shell command

The ip.sh have to be in the vpn server right? There is any problem if my
vpn client is running in a windows xp?

I was thinking that ip.sh could generate an ip based on the $trusted_ip
env var.
Supose that $trusted_ip was 192.168.1.11
Basicaly the script will do a ifconfig-push "192.168.3.11 255.255.255.0"

The script can be in perl or python? If it yes, how can the perl script
send the ifconfig-push "192.168.3.11 255.255.255.0" to openvpn? writing
into the temporary filed passed to script, right?

Do i have to have perl running in my xp machine?

Sorry, but i am very confused!

Thank you

Helder Miguel Gaspar Rodrigues wrote:
| Soo i had a line in my .conf file at he openvpn server like this:
| client-connect ip.sh
|
| And my ip.sh for testing purposes:
| #!/bin/bash
| echo $trusted_ip
|
| Now i get disconnect each time that i try to connect with the server.
|
| Jan 12 16:52:48 xpto openvpn-local[873]: wifi.frew.org/192.168.1.11:5000
| PUSH: Received control message: 'PUSH_REQUEST'
| Jan 12 16:52:48 xpto openvpn-local[873]: wifi.frew.org/192.168.1.11:5000
| SENT CONTROL [wifi.frew.org]: 'AUTH_FAILED' (status=1)
| Jan 12 16:52:48 xpto openvpn-local[873]: wifi.frew.org/192.168.1.11:5000
| Delayed exit in 5 seconds
| Jan 12 16:52:53 xpto openvpn-local[873]: wifi.frew.org/192.168.1.11:5000
| SIGTERM[soft,delayed-exit] received, client-instance
|
|
| Why? What I am doing wrong?
|
| Helder
|
| Helder Miguel Gaspar Rodrigues wrote:
| | Charles Duffy wrote:
| | | On Wed, 12 Jan 2005 08:25:16 +0000, Helder Miguel Gaspar Rodrigues
| wrote:
| | |
| | |
| | |>In first, all my clients use the same keys and the same certs, but how
| | can
| | |>i have sure that 192.168.1.11 is the same computer reached via de vpn
| | |>tunnel with the vpnip 192.168.3.11?
| | |
| | |
| | | Ahh -- I misunderstood your requirements, then.
| | |
| | | A client-connect script is just the thing, then; you can use it to
| | | generate an ifconfig-push based on the contents of $trusted_ip.
| | Thanks.
| | Do you know where can i find some examples or more information regarding
| | that topic?
| |
| | Thanks again
| | |
| | |
| | |
| | | -------------------------------------------------------
| | | The SF.Net email is sponsored by: Beat the post-holiday blues
| | | Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
| | | It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
| | | _______________________________________________
| | | Openvpn-users mailing list
| | | Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
| | | https://lists.sourceforge.net/lists/listinfo/openvpn-users
| |
|
| -------------------------------------------------------
| The SF.Net email is sponsored by: Beat the post-holiday blues
| Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
| It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
| _______________________________________________
| Openvpn-users mailing list
| Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
| https://lists.sourceforge.net/lists/listinfo/openvpn-users
|

- -------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB5WkgXuDuuXe+pHkRAun1AJ9qpEZHd7DLP4RHCyIBXjJzE25kqQCfdCwI
ne3ory2I/U9zquqz5S9m+os=
=v3Rn
-----END PGP SIGNATURE-----



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users