Welcome, Guest. Please login or register.
Did you miss your activation email?
Thursday 26 December 2024, 05:18:08 am

Login with username, password and session length

Visit the Official Endian Reference Manual  HERE
14262 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  VPN Support
| | |-+  problem with openvpn and static ip
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: problem with openvpn and static ip  (Read 65716 times)
verno100
Jr. Member
*
Offline Offline

Posts: 7


« 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
Logged
carbm1
Jr. Member
*
Offline Offline

Posts: 3


« Reply #1 on: Tuesday 14 February 2012, 10:03:31 am »

This same problem started for me on 2.5.
Logged
astaq
Jr. Member
*
Offline Offline

Posts: 4


« Reply #2 on: Wednesday 15 February 2012, 02:43:42 pm »

Just test gw2gw using vpn, also got dynamic ip, static ip can not be assigned.
Logged
fvalentini
Jr. Member
*
Offline Offline

Posts: 1


« Reply #3 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
Logged
jrussell05
Jr. Member
*
Offline Offline

Posts: 1


« Reply #4 on: Thursday 16 February 2012, 04:21:18 pm »

This file doesn't exist for me.  The "/var/openvpn/clients" directory is empty.

Logged
carbm1
Jr. Member
*
Offline Offline

Posts: 3


« Reply #5 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.
Logged
verno100
Jr. Member
*
Offline Offline

Posts: 7


« Reply #6 on: Saturday 18 February 2012, 02:32:44 am »

I have just tried this solution with no result.
I need help!
thanks!
Logged
ruhllatio
Full Member
***
Offline Offline

Posts: 10


« Reply #7 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.
Logged
verno100
Jr. Member
*
Offline Offline

Posts: 7


« Reply #8 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?
Logged
ruhllatio
Full Member
***
Offline Offline

Posts: 10


« Reply #9 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.
Logged
alanwade
Jr. Member
*
Offline Offline

Posts: 1


« Reply #10 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
Logged
Rashid
Jr. Member
*
Offline Offline

Posts: 1


« Reply #11 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?
Logged
Truitt
Jr. Member
*
Offline Offline

Posts: 1


« Reply #12 on: Saturday 19 August 2017, 04:35:50 pm »

I would recommend nordvpn over purevpn.
Logged

This fantastic phenq review will tell you everything you need to know.
Atmotmefe
Jr. Member
*
Offline Offline

Gender: Male
Posts: 6


« Reply #13 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
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.188 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com