|
|
Hi!
I don't understand how openvpn server assigns ip address to clients. I studied
server directive but without success.
In my tests I note that:
If I don't set ip client (using configuration file in
client-configuration-dir), server assigns to client wrong (I think ip):
server
tun0 address 10.8.0.1 p-t-p: 10.8.0.2
client
tun0 address 10.8.0.6 p-t-p: 10.8.0.5
why??
tun0 client side has to have 10.8.0.2 address or not?
a tun device with 10.8.0.5 address doesn't exist.
How openvpn server assigns ip addresses to clients?
Another question:
when I start openvpn server, it adds in machine routing table at least 2
route:
destination gw iface
10.8.0.0 10.8.0.2 tun0
10.8.0.2 0.0.0.0 tun0
why?
I think that the first route is unnecessary, or not?
Thanks in advance,
Fabio
--
Dott. Fabio Marcone
2T srl
Telefono +39 - 0871- 540154
Fax +39 - 0871- 571594
Email fabio.marcone@xxxxxxx
Indirizzo Viale B. Croce 573
66013 Chieti Scalo (CH)
GNU/Linux registered user #400424
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-02/msg00009.html on line 219
Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-02/msg00009.html on line 219
|