Welcome, Guest. Please login or register.
Did you miss your activation email?
November 23, 2017, 01:38:42 AM

Login with username, password and session length

Visit the official Endian Community Mailinglist  HERE
13543 Posts in 4160 Topics by 5268 Members
Latest Member: Khmart
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  VPN Support
| | |-+  problem with openvpn and static ip
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: problem with openvpn and static ip  (Read 13268 times)
verno100
Jr. Member
*
Offline Offline

Posts: 7


« on: February 14, 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: February 14, 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: February 15, 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: February 16, 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: February 16, 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: February 17, 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: February 18, 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: February 19, 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: February 20, 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: February 21, 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: October 11, 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: June 01, 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

The Bathmate is the best.
Truitt
Jr. Member
*
Offline Offline

Posts: 1


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

I would recommend nordvpn over purevpn.
Logged
Atmotmefe
Jr. Member
*
Offline Offline

Gender: Male
Posts: 6


« Reply #13 on: October 27, 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.094 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com