Skip to main content

All Questions

Tagged with
1 vote
1 answer
125 views

The route of data transferred via SSH seems strange

What I noticed is that the packets transferred via SSH go to the router first and then the router transfers them to the destination host. But why? Why not just transfer data directly by the MAC ...
3 votes
0 answers
549 views

How to route vpn traffic so it can only use ssh

I want to make an SSH connection e.g ssh [email protected] -p 22 SSH connection can only be made when connected to VPN tunnel. I can connect to VPN tunnel like this echo PASS | sudo openconnect --...
1 vote
1 answer
21k views

I can ping a server, but I can not ssh to it

I can ping my server: » ping -c 1 42.24.53.224 PING 42.24.53.224 (42.24.53.224) 56(84) bytes of data. 64 bytes from 42.24.53.224: icmp_seq=1 ttl=62 time=1.10 ms --- 42.24.53.224 ping statistics --- ...
4 votes
1 answer
2k views

How to route traffic from ssh server to my local machine?

I am a student at a college. In my school, we have this strange rule that after 12 midnight, there is an internal LAN Ban. That means I am able to connect to the internet (external traffic) while ...
0 votes
0 answers
74 views

How do I prevent my openvpn gateway from becoming unreachable through ssh?

I'm using this tutorial: https://gist.github.com/superjamie/ac55b6d2c080582a3e64, to set up a vpn gateway in my network. The .ovpn config of my provider uses the pull option to set routes on the ...
10 votes
5 answers
225k views

SSH :connect to host localhost port 22: Connection refused

In debian kali I tried to connect ssh and getting the following error : SSH: connect to host localhost port 22: Connection refused Background : I was trying to connect ssh in debian, I am using ...
1 vote
1 answer
924 views

linux routing tables, tunnels & iptables

I'm trying to figure out how all those components are working together. my main goal is to route traffic (port 80,443) from my local host (windows 7) network to a remote host on a remote network. ...
0 votes
0 answers
135 views

Setting up ssh between systems using same router

I have been trying it to ssh into my ubuntu system from mac. I couldn't get it working though. I am using a DIR-816 as my router. Here are the configurations: mac: en0: flags=8863<UP,BROADCAST,...
1 vote
0 answers
1k views

Intermittent disconnections when using OpenVPN over SSH tunnel; possible iptables issue?

I've recently set up a Debian Wheezy server with OpenVPN to help out some friends in areas where internet censorship is a problem (including the blocking of VPN traffic in general). To overcome this, ...
4 votes
2 answers
8k views

SSH Connection Error : No route to host

There are three machines in this scenario: Desktop A : [email protected] Laptop A : [email protected] Machine B : [email protected] All the machines have Ubuntu 11.04 (Desktop A is a 64bit one) and have both ...
1 vote
1 answer
718 views

SSH+ SOCK Proxy vs VPN

Basically I want to route all my internet traffic (http,https) out to another network (hosted network) and make it encrypted to the end node(hosted network). I can do this right now via SSH> Port ...
0 votes
1 answer
2k views

Pushing routes in OpenVPN not working on iOS?

Because of a certain public government firewall with deep packet inspection preventing OpenVPN out of the country, I am trying to run OpenVPN over SSH. I also wanted all traffic to run through OpenVPN,...
0 votes
1 answer
1k views

On a host with two IP addresses, I am getting "no route to host", but SSH works

I have a very strange problem. A server has two IP addresses on a single network interface: eth0 has 172.20.40.1 eth0:0 has 10.1.1.1 The address for eth0 is static, the one for eth0:0 comes from ...
2 votes
0 answers
124 views

Can not connect to VirtualHost when VPN

I run VirtualBox on my local machine with Ubuntu which hosts my application. Application URLs points to VM IP Address in my hosts file (/etc/hosts). And this configuration works fine. I can also ssh ...
1 vote
0 answers
272 views

Not able to SSH into Raspberry Pi when PPTP is active

I have a Raspberry Pi set up as a seedbox, and I'm trying to make it connect to my VPN. I'm using PPTP to connect, and I can make the connection work just fine, and my IP address as shown to the ...

15 30 50 per page