Guys i setup openvpn server on ubuntu OS 18.04.3 LTS it is working properly on LAN, connecting clients successfully, but vpn connection failed outside LAN, i think it maybe a port or ip forwarding issue, can anyone help me on port forwarding for vpn server setup
Related
I'm using CM7 stable (7.0.3) with a Nexus One.
When I enable the hotspot feature without having the phone connected to my openvpn server, my laptop (connected to the hotspot) connects to the web fine. The phone's internet connection works fine as well.
But when I enable the feature while connected to the openvpn server, even though the internet works on the phone, my laptop connects to the hotspot but cannot send/receive any data. I can ping my phone from my laptop, but pings go unanswered for example to google.com or 8.8.8.8...
Does anyone have any idea what's going on here, how I can troubleshoot or how I can fix the problem?
PS. I'd like to have the phone connected to my openvpn server rather than my laptop while using the hotspot as the laptop's openvpn connection is unstable when using the phone's hotspot (I do't know why).
Thanks!
I think the problem is the Gateway used by the laptop to connect to the internet. When you activate the hotspot the laptop will use to connect to the internet as gateway the ip provided by 3G. When you activate the VPN the gateway is changed but the laptop can't tell that and it uses the wrong IP address.
I'm using CM9 on my galaxy nexus.
I can connect to my PPTP VPN server (my router running tomato) fine without tunneling, both inside my lan, and outside it.
I can connect to my SSH server (again my router), both inside my lan and outside it. And have successfuly forwarded ports before w/ connect bot and remote desktop apps.
But everything I try results in my VPN connection timing out when I try to do it over the SSH tunnel. I have it connecting to localhost on the VPN settings side. And on the connect bot side i am forwarding port 1723 to 192.168.1.1:1723 (which is my routers lan IP).... but it still times out.
Does anyone have any ideas? is this even possible?
Hello.
I need some help about my problem connecting to my work lan.
I have a PC in office connected to work LAN. I can connect to my pc from remote usign SSL VPN.
I have installed Junos Pulse on my Galaxy Note 10.1 and with it I can connect to my VPN and then, using port 3389, I can connect to my PC using RDC.
If I need to access my work network, I need to make some tunnel using port 3389.
I installed SSH server listening on port 3389 on my pc and, after VPN connection has been established, I try to use SSHtunnel to configure connection to my ssh server (working ok) and then starting Global Application routing. When I start SSH tunnel it connect to my ssh server and it works (for ex. using internet browser from android) but only using IP addresses.
If I try to use names instead of IP it is unable to resolve DNS, also if I set DNS option ON in SSHtunnel.
I cannot understand how to accomplish that kind of connection. I tried proxydroid, sshtunnel, autoproxy but they does not work (or I am not able to make them work).
I don't know if it is some problem using tunnelling with Junos pulse.....
Any help for me?
Thank you
No help?
I'm running android-x86 in vbox on a Windows network in bridged mode. The device and all other computers are on the same network - 192.168.2.x. I have a router performing dhcp service and giving out the dns server ip address. A Windows 2008 server provides the dns services.
The android device can ping and nslookup all the other machines on the network. The other machines (all windows) can connect to the android device using its ip address.
I'd like to have a host record at the dns server so that the other computers on the network can connect to the android device using its name - "android-1", for instance, rather than 192.168.2.40.
Can anyone tell me how to make this happen?
Thanks.
Will
Hi, I have a samsung galaxy note 10.1 N8000. On my local network I have a synology diskstation DS213j which can run a vpn server L2TP/IPSec or openvpn.
On my samsung I have the latest official firmware.
L2TP/IPSec server DS213j is working fine with my ubuntu 11.10 notebook. I didn't try openvpn yet, but I guess I get that working too.
On my samsung I can connect nicely to L2TP/IPSec server (with build in android vpn client) or the openvpn server (with Openvpn for android app).
However I cannot access internet or my local lan. Although I can ping my local lan addresses. When I open ie the url to my webinterface of the local lan it tries to connect to it. It sometimes even manage to display the login screen.
I guess my routing on the tablet is wrong. Routing is set to automatic, only dns servers has been filled in manually, because they didn't get pushed right by the openvpn server on my synology. Notice that I don't have this problem on my ubuntu notebook.
Did someone manage to succesfully setup a vpn connection using L2TP/IPSec or openvpn?
If so I must take another look at the vpn servers on my synology, else I think I need to get root access to my tablet to manipulate the routing table.
BTW the goal is to rout all the traffic through the vpn expecially the internet. I need to access the internet through my home IP so I can use the live TV app from my cable/internet provider when I am on the road.
divx118
divx118 said:
Hi, I have a samsung galaxy note 10.1 N8000. On my local network I have a synology diskstation DS213j which can run a vpn server L2TP/IPSec or openvpn.
On my samsung I have the latest official firmware.
L2TP/IPSec server DS213j is working fine with my ubuntu 11.10 notebook. I didn't try openvpn yet, but I guess I get that working too.
On my samsung I can connect nicely to L2TP/IPSec server (with build in android vpn client) or the openvpn server (with Openvpn for android app).
However I cannot access internet or my local lan. Although I can ping my local lan addresses. When I open ie the url to my webinterface of the local lan it tries to connect to it. It sometimes even manage to display the login screen.
I guess my routing on the tablet is wrong. Routing is set to automatic, only dns servers has been filled in manually, because they didn't get pushed right by the openvpn server on my synology. Notice that I don't have this problem on my ubuntu notebook.
Did someone manage to succesfully setup a vpn connection using L2TP/IPSec or openvpn?
If so I must take another look at the vpn servers on my synology, else I think I need to get root access to my tablet to manipulate the routing table.
BTW the goal is to rout all the traffic through the vpn expecially the internet. I need to access the internet through my home IP so I can use the live TV app from my cable/internet provider when I am on the road.
divx118
Click to expand...
Click to collapse
Solved with the official release of DSM 4.3 beta and vpn server update of my synology. As I expected not all the routes were pushed by the server. dns servers I still have to ad them manually.