[QUOTE=Crusoe86;7547611]Do you want to know how to route the full traffic (Internet etc. to the VPN tunnel)?
ATTENTION!!! You have to modifiy the adresses to fit in your system
dhcp-option DNS 192.168.1.1 (it sets the DNS to the specified address)
route-gateway 192.168.1.1 (this sets the gateway address)
redirect-gateway def1 (and this one routes the full traffic (including Internet) through the VPN tunnel)
I use this parameters in my Win7 config and it works well. These commands are available in Linux, too.
I hope this was what you searching for
I need only access to the LAN side of network as mention earlier in this thread.
The openvpn connects but i do not access the LAN, properly because it do not get IP adresses from the OPENVPN server.
My LAN setup:
Openvpn server: 192.168.10.10
DHCP range: 192.168.10.100-192.168.10.200
Is this correct?:
dhcp-option DNS 192.168.10.1
redirect-gateway def1: can I drop this if do not need internet to redirect?
What about android device IP? doesnt it need IP in the same range(192.168.10.x) not joust gateway or DNS
This commands, in console? And before or after Openvpn connects?
Maybe it is possible to create a script every time openvpn starts, and run this commands?
Many question, hope you understand me.