[Q] Has anyone tunneled PPTP VPN connections over a SSH connection? - General Questions and Answers

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?

Related

[Q] [openvpn, cm7] Hotspot not functional when openvpn is connected

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.

[Q] Can a tethered PC see other PCs on the network?

My laptop does not have a wifi module yet, so I am using my cyanogenmod wildfire with tethering to access my home network. But it can't see any PC on it. I can ping the IP addresses but DNS does not work.
What I have noticed is that it is the phone which has the IP from my router and the laptop has an IP in another range. My network uses 10.0.0.x and the laptop has a 192.168.x.x.
My guess is that since the IP range is not the same windows restricts it from seeing the other PCs but it's just a guess. I have tried to set the IP manually but then it got no connection.
Is it impossible to use tether to access network PCs?
Bumping anyone?

[Q] [HELP] SSH Tunnelling

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?

[Q] vpn can connect but no internet and local lan

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.

OPENVPN Connection Setup error, connection not working outside LAN

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

Categories

Resources