VPN server running on Win7 machine connected via WIFI
-
- Posts: 5
- Joined: Sat Jan 23, 2016 1:51 pm
VPN server running on Win7 machine connected via WIFI
Hello everybody!
First of all, I'd like to thank all experts who have created, developed and keep on supporting this very useful utility.
I come to my question: my goal is to be able to access the content of my home laptop with my iPhone when I'm abroad on 3G/4G network. It might be useful to remark the following:
- Laptop is running Win7 and it's connected via WiFi
- I'm perfectly able to establish a L2TP VPN connection if I connect the laptop to the home network via cabled LAN (I can even see my iPhone listed among the DHCP clients in the router's configuration page)
- Wireless adapter is by default not listed among those one can potentially use for a local bridge. Nevertheless, I changed the configuration file so that all network adapters can be chosen ("bool ShowAllInterfaces true") and as a result I could configure my local bridge with wireless (Status: Operating).
- With this setup, the iPhone tries to connect and, appartently, the connection could be established as the packets' traffic seems to be fine (I see it in the status of my virtual Hub), but after some seconds I get a message error on the iPhone saying that connection couldn't be established.
- I believe this has something to do with the IP assignment, because if I enable the virtual DHCP server I can have the iPhone connected, but I'm not able to "see" my home network, nor to surf internet.
What am I missing?
Thanks everybody in advance for the kind support.
First of all, I'd like to thank all experts who have created, developed and keep on supporting this very useful utility.
I come to my question: my goal is to be able to access the content of my home laptop with my iPhone when I'm abroad on 3G/4G network. It might be useful to remark the following:
- Laptop is running Win7 and it's connected via WiFi
- I'm perfectly able to establish a L2TP VPN connection if I connect the laptop to the home network via cabled LAN (I can even see my iPhone listed among the DHCP clients in the router's configuration page)
- Wireless adapter is by default not listed among those one can potentially use for a local bridge. Nevertheless, I changed the configuration file so that all network adapters can be chosen ("bool ShowAllInterfaces true") and as a result I could configure my local bridge with wireless (Status: Operating).
- With this setup, the iPhone tries to connect and, appartently, the connection could be established as the packets' traffic seems to be fine (I see it in the status of my virtual Hub), but after some seconds I get a message error on the iPhone saying that connection couldn't be established.
- I believe this has something to do with the IP assignment, because if I enable the virtual DHCP server I can have the iPhone connected, but I'm not able to "see" my home network, nor to surf internet.
What am I missing?
Thanks everybody in advance for the kind support.
-
- Posts: 7
- Joined: Sat Jan 16, 2016 6:06 am
Re: VPN server running on Win7 machine connected via WIFI
Wonder how you do that? I edited the config file in notepad, then imported it and restarted but it didn't work for me. The wireless ethernet adapter still doesn't show..
-
- Posts: 5
- Joined: Sat Jan 23, 2016 1:51 pm
Re: VPN server running on Win7 machine connected via WIFI
All I did was to edit the config file the way I described...changed that flag from 'false' to 'true'
-
- Posts: 7
- Joined: Sat Jan 16, 2016 6:06 am
Re: VPN server running on Win7 machine connected via WIFI
Thanks. Perhaps I can explore using securenat
-
- Posts: 5
- Joined: Sat Jan 23, 2016 1:51 pm
Re: VPN server running on Win7 machine connected via WIFI
Could you also get the bridge with wifi working but no connection on client side?
-
- Posts: 7
- Joined: Sat Jan 16, 2016 6:06 am
Re: VPN server running on Win7 machine connected via WIFI
I didn't manage to get the bridge with WiFi ethernet adapter working. It is still not listed in the dropdown list despite setting that variable to true...
-
- Posts: 5
- Joined: Sat Jan 23, 2016 1:51 pm
Re: VPN server running on Win7 machine connected via WIFI
I've read somewhere that 'Internet Connection Sharing' could play a role in solving the issue I described.
If this is correct, which settings should I change?
If this is correct, which settings should I change?
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: VPN server running on Win7 machine connected via WIFI
Did you create localbridge to WiFi adapter?
If so, localbridge doesn't work.
If so, localbridge doesn't work.
-
- Posts: 5
- Joined: Sat Jan 23, 2016 1:51 pm
Re: VPN server running on Win7 machine connected via WIFI
Hi! Thanks for your reply!
Yes, I've created a local bridge to my WiFi adapter. Interestingly, I see some packet traffic when the iPhone tries to connect... The problem is that after a while the connection drops and I get an erroe message on the mobile.
If not with a local bridge to the wifi adapter, is there any other workaround that would allow me to establish a VPN connection?
Yes, I've created a local bridge to my WiFi adapter. Interestingly, I see some packet traffic when the iPhone tries to connect... The problem is that after a while the connection drops and I get an erroe message on the mobile.
If not with a local bridge to the wifi adapter, is there any other workaround that would allow me to establish a VPN connection?
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: VPN server running on Win7 machine connected via WIFI
Please use SecureNAT instead of localbridge.