Title: problem with openvpn and static ip Post by: verno100 on Tuesday 14 February 2012, 02:22:13 am Hi,
i have version 2.5.1. I have loaded the settings backup from 2.4. I have a problem with openvpn. I configured some account with dynamic ip and others with static ip. When i connect a client with account(static ip) i obtain a dynamic ip and not that i have inserted manually. The openvpn configuration account with static ip doesn't run for me. Any solution? thanks Title: Re: problem with openvpn and static ip Post by: carbm1 on Tuesday 14 February 2012, 10:03:31 am This same problem started for me on 2.5.
Title: Re: problem with openvpn and static ip Post by: astaq on Wednesday 15 February 2012, 02:43:42 pm Just test gw2gw using vpn, also got dynamic ip, static ip can not be assigned.
Title: Re: problem with openvpn and static ip Post by: fvalentini on Thursday 16 February 2012, 12:45:45 am edit file /var/openvpn/openvpn.conf.tmpl
find ";client-config-dir clients" change in "client-config-dir /var/openvpn/clients" (remove ";" ) reboot Title: Re: problem with openvpn and static ip Post by: jrussell05 on Thursday 16 February 2012, 04:21:18 pm This file doesn't exist for me. The "/var/openvpn/clients" directory is empty.
Title: Re: problem with openvpn and static ip Post by: carbm1 on Friday 17 February 2012, 02:29:24 am I'm sure you meant /etc/openvpn/openvpn.conf.tmpl
However, it still did not fix my issue. I went and changed the static IP address on the client and it still pulled from the dynamic pool. I'm seriously considering going back to 2.4.1. Title: Re: problem with openvpn and static ip Post by: verno100 on Saturday 18 February 2012, 02:32:44 am I have just tried this solution with no result.
I need help! thanks! Title: Re: problem with openvpn and static ip Post by: ruhllatio on Sunday 19 February 2012, 07:03:01 am peter,
While your fix makes sense, even after a reboot no specific client file is created for the account. Though I am new to Endian I don't think this is the way it is supposed to work. I don't see any other reason to call that parameter on the openvpn.conf.tmpl file if it wasn't supposed to write some client file. It doesn't really matter at this point, as even though the client receives an IP from the pool and the OpenVPN client seems to try to push the gateway and DNS settings it just never takes. Using 2.5.1 bleeding edge with OpenVPN client 2.2.2 in bridged mode. Title: Re: problem with openvpn and static ip Post by: verno100 on Monday 20 February 2012, 08:39:14 pm I'm checking the folder var\openvpn\clients\ of version 2.4.
In this folder i have a file for each account. Each file has the same name of his account. If the account is with dynamic ip the file is empty. If the account is with static in the file i have this: ifconfig-push 192.168.0.160 255.255.255.0 push "redirect-gateway def1" push "dhcp-option DNS 192.168.0.254" push "dhcp-option DNS 192.168.0.254" (192.168.0.160 is the static ip) In the version 2.5.1 i haven't file in var/openvpn/clients A solution may be create a file for static account, is it possible? Title: Re: problem with openvpn and static ip Post by: ruhllatio on Tuesday 21 February 2012, 04:27:48 am I can confirm that creating a file in this directory that DNS and default-gateway begins to work. Building a fix thread now to help others.
Title: Re: problem with openvpn and static ip Post by: alanwade on Thursday 11 October 2012, 05:20:14 pm Besides granting you access to any or all the banking, MasterCard and different websites that forestall dynamic IP addresses, a static IP should still be shielded from unwanted intruders and government censorship software package. This is often wherever a static IP VPN comes into play. The VPN can cipher your entire beat up the web and even enable you to vary the static IP address given to you by your ISP to one in another country.
By employing a VPN, you'll hook up with a US-based server to observe Netflix, Veoh, Panda or Hulu. You’ll conjointly hook up with a UK-based server to access BBC iPlayer. With the assistance of a VPN, you'll be assured that no cyber attacks or viruses can have an effect on you throughout your web usage. The protection a static IP VPN grants you is unexceeded. Visit Now: purevpn.com Title: Re: problem with openvpn and static ip Post by: Rashid on Thursday 01 June 2017, 10:35:24 pm This file doesn't exist for me. The "/var/openvpn/clients" directory is empty. Same here. Is there another way to get the file? Title: Re: problem with openvpn and static ip Post by: Truitt on Saturday 19 August 2017, 04:35:50 pm I would recommend nordvpn over purevpn.
Title: problem with openvpn and static ip Post by: Atmotmefe on Friday 27 October 2017, 07:09:37 am Model :
Hardware Version : Firmware Version : ISP : /COLOR I can ping my 2 network printers but none of my 9 computers on the network with static ip addresses. Win 7Pro OS. Help |