ciao,
Perchè dalle FAQ di openvpn: "Can an OpenVPN server be set up on a machine with a single NIC? If you are using routing rather than ethernet bridging mode and would like connecting clients to see the whole LAN rather than only the server machine itself, you need to add an internal LAN route to the LAN gateway so that the private OpenVPN subnet (declared in the server, ifconfig, or ifconfig-pool directives) is routed to the OpenVPN server machine (i.e. its internal address)." Cosa che io non posso fare in quanto il gateway della rete è il router telecom e non si può configurare. O almeno io l'ho capita così, se mi sbaglio accetto volentieri suggerimenti. ;)
per gateway si intende la macchina su cui gira il server OpenVPN, se non ho capito male la tua configurazione.
in pratica: LAN ------ gw(con OpenVPN) ---- modem -----INTERNET ---- roadwarriorsupponiamo che il tunnel abbia IP 10.0.0.1 lato gw e 10.0.0.6 laro RDW e che la lan abbia network 192.168.0.0/24.
se tu vuoi accedere dalla lan al rdw lo devi puntare con 10.0.0.6 (openvpn si occupa di inserire le regole di routing sul gw) e se il RDW vuole accedere ad una workstation in lan la deve puntare con l'indirizzo ip della WS. OpenVPN deve essere configurato per esportare la network 192.168.0.0/24.
Spero ti possa essere d'aiuto. Fabio
Grazie e ciao InSa
-- Dott. Fabio Marcone 2T srl Telefono +39 - 0871- 540154 Fax +39 - 0871- 571594 Email fabio.marcone(AT)duet.it Indirizzo Viale B. Croce 573 66013 Chieti Scalo (CH) GNU/Linux registered user #400424