1 |
How openvpn client obtains IP address from the server? |
2 |
|
3 |
On the sever in server.conf I had: |
4 |
server 192.168.139.0 255.255.255.0 |
5 |
route 10.0.0.0 255.255.255.0 192.168.139.7 |
6 |
|
7 |
On server in ccd/ I had client.file: |
8 |
ifconfig-push 192.168.139.3 255.255.255.0 |
9 |
|
10 |
When I connected to server my client IP address was: |
11 |
192.168.139.7 |
12 |
|
13 |
So I modified the file on the server.conf |
14 |
server 192.168.139.0 255.255.255.0 |
15 |
# route 10.0.0.0 255.255.255.0 192.168.139.7 (commenting this line out) |
16 |
|
17 |
Restarted the openvpn on the server and when I established connection |
18 |
from the client I still got the IP: |
19 |
192.168.139.7 |
20 |
|
21 |
I was under impression I should have IP: |
22 |
192.168.139.3 |
23 |
|
24 |
Do I have to clear something else? Why am I getting IP: 192.168.139.7 |
25 |
|
26 |
-- |
27 |
Joseph |