Well... after reading, reading and reading...

It turns out that the solution was the "iroute" option (reference:
http://backreference.org/2009/11/15/openvpn-and-iroute/)

Basically, to get this working I created a new folder at Fonera OpenVPN
server at */etc/openvpn/ccd*. Then you have to create a file with the *same
name* as your client(s).

There you can provide configurations like this:

*iroute 192.168.10.0 255.255.255.0*
*
*
This, basically, "announces" the network "behind" the client.

To get this working, you have to edit /etc/config/openvpn and add:

*option 'route' '192.168.10.0 255.255.255.0 10.8.0.1'*
*option 'client_config_dir' '/etc/openvpn/ccd/'*

At the end everything is working. :) Just don't forget to create routes at
your home gateway(s) so everything goes "cleaner" :)

I hope this can help other people.

2013/3/31 Matthijs Kooijman - Fon <[email protected]>

> Hi FM,
>
> just a quick reply: given that you already added ta static route, which
> looks good, I'm guessing the firewall is blocking traffic. You could
> look at the iptables rules, but these are generated from
> /etc/config/firewall (IIRC), so you might be able to fix it there.
>
> I'll have a closer look when I'm back to work tomorrow or tuesday, but
> perhaps this helps enough to get you started?
>
> Regards,
>
> Matthijs Kooijman
>
> _______________________________________________
> Development mailing list
> [email protected]
> http://fonosfera.org/mailman/listinfo/development
>
_______________________________________________
Development mailing list
[email protected]
http://fonosfera.org/mailman/listinfo/development

Reply via email to