Miki800
my setup:
internet-wired-router-lan-eth0-ubuntu-openvpn-wlan0-wifi-hotspot-laptop-windows8
how the problem reproduces:
I am running a wifi hotspot on my windows 8 laptop
connected to that hotspot with my pc ubuntu.
now both in the same network and my ubuntu got an ip address assigned by windows 8's default dhcp server from the hotspot.
started openvpn+openvpnas.
from the laptop: browsed to the https://<UBUNTU-IP>:943/ and downloaded the client
installed the client - this immediately STOPS THE DHCP SERVER ON THE LAPTOP
meaning - ifconfig on the ubuntu (only from this moment) stops showing an ip address bound to wlan0
thus completing the openvpn connection is no longer possible.
why is this happening? is blocking dhcp servers on clients a mandatory for accomplishing openvpn connections?
maybe its because I marked using the openvpnas that all of the clients' traffic show be forwarded and handled by the vpn server?
please help, I feel hopeless - I used to use my android wifi hotspot as a middle connection between the laptop and the pc
and it worked fine, but it was extremely unreliable and kept disconnecting + reconnecting without an ip address on the droid's dhcp server
so I had no choice but to give up on that solution and switch to having the hotspot on the laptop itself, which does not disconnect randomly at all
only once a openvpn-client installtion is completed. (when I tested for the problem, until I figured it out, I had to uninstall and reinstall the openvpn client many times before it was obvious that IT was the problem)
p.s.
you might ask yourselves: why doesn't he just host the hotspot and dhcp server on the ubuntu from the first place?
this would solve so many problems indeed and it was the first thing I attempted,
but unfortunately it appears that the hardware of my wifi-stick will not allow itself transmitting the traffic of a wifi-hotspot so I had to look for strange alternatives.
one last thing - please avoid suggesting things like "buy a wireless router", yes this will solve everything too, but I am not interested in buying new hardware to accomplish that.