Skip to main content

All Questions

Tagged with
0 votes
0 answers
41 views

Establishing a VPN connection between 2 PCs behind CGNAT through a cloud server

I have 3 devices in different countries. I want to establish an OpenVPN server on my machine and a client on the other 2 machines and route all their traffic through my network. The problem is that ...
Madara's user avatar
  • 101
0 votes
1 answer
72 views

How I can make VPS rotate traffic coming from PC-02 to RPI-01?

I would like to ask a question: How can I control a Raspberry remotely via ssh by routing traffic through a VPS with VPN (openvpn-server) installed? Important condition: It's not possible to change ...
adiu11's user avatar
  • 3
0 votes
1 answer
117 views

OpenVPN I can't connect computers inside the server LAN?

I'm trying to set up an OpenVPN connection, I can connect to the VPN using my client, but I can't connect to other devices on the server network topology Network config IPEnableRouter Server router - ...
Andrew Brazil's user avatar
0 votes
1 answer
2k views

Proxmox: Routing traffic between VPN and guest network

I have a Proxmox setup on an internal corporate network that hosts multiple VMs. Users connect to the network via a VPN connection that allows access to a gateway machine running Windows and from ...
MojoJojo's user avatar
  • 103
1 vote
1 answer
2k views

prevent ssh connection being lost after connecting to vpn server on Azure ubuntu 20.04 vm

I've created an Ubuntu 20.04 scale set (2 vms) on Azure and access these vms via ssh from my laptop's shell. I want one of them to be connected to nordvpn (using nordvpn connect command, default is ...
drew1kun's user avatar
  • 2,157
3 votes
1 answer
5k views

How to send all WSL traffic through a proxy in host machine

I am using a SSH tunnel to connect to the internet on my host Windows machine. I am using proxifier to send all my traffic though port 1080 which is the proxy port. However, proxifier or selecting the ...
VidathD's user avatar
  • 129
0 votes
1 answer
487 views

Access Internal Network (like ssh) via OPENVPN AssessServer having two VPN Client(one as VPN gateway and one user)

My target is access ssh to pc's connected to lan network(say home network) via using OpenVPN Access Server with reverse VPN Coonections. I had setup OpenVPN Client and OpenVPN AS Configuration as per ...
balram rexwal's user avatar
0 votes
1 answer
1k views

How to route connections to a remote machine to a port on my local machine

We have existing SQL Connection strings like "tcp:aws.server.address,1433". We can no longer connect to aws.server.address directly, and instead have to go through a jump server. WITHOUT MODIFYING ...
Triynko's user avatar
  • 3,294
0 votes
2 answers
1k views

How can I access a device connected to a router which is in the same network as my PC?

I am connected to a switch. This switch is connected to a router. My PC gets its IP address from this router. I connected a second router (Router C in the image) to the switch. "Device A" is ...
learn_how_to_connect_with_ssh's user avatar
0 votes
2 answers
2k views

Problems connecting to server (ssh, no route to host)

I have a home server that's been working fine for the past few months. For the network configuration, I've assigned it a static IP, and various ports have been forwarded, e.g. 22, 80, 8080, 443, 5904, ...
rygon's user avatar
  • 1
0 votes
2 answers
74 views

What happens if I try to SSH to a machine that's on my local network using the router's public IP?

I have a few machines on different local networks that I need to SSH into from time to time. None of the networks have static IPs so I use a DynDNS to map each machine to a hostname, then with port ...
user1008547's user avatar
1 vote
1 answer
124 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 ...
forAllBright's user avatar
1 vote
1 answer
698 views

How can I SSH targeting VPN tunnel

I'm trying to make an SSH connection to my VPN server. I'm connection the VPN with openConnect like this echo PASS | sudo openconnect --juniper https://example/ -u user --passwd-on-stdin This will ...
Godhaze's user avatar
  • 51
3 votes
0 answers
548 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 --...
Godhaze's user avatar
  • 51
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 --- ...
DanMetro's user avatar
0 votes
0 answers
522 views

How to use ssh with two interfaces having ip from same network range but from different network switch

I have two network interfaces having IP as eth0:192.168.10.3 and eth1:192.168.10.5 . Both the interfaces are connected to different network switch. So is there any way to divert the ssh traffic to ...
Dipankar's user avatar
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 ...
user avatar
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 ...
Mayank Sharma's user avatar
4 votes
3 answers
27k views

No route to host, but can ping [overthewire games]

I'm trying to solve some IT puzzles about crypto: http://overthewire.org/wargames/krypton/krypton0.html. But I failed just with the very first exercise. I decoded the password with openssl (that was ...
yak's user avatar
  • 171
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. ...
liron's user avatar
  • 11
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,...
sudeepdino008's user avatar
1 vote
1 answer
716 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 ...
Benjamin Jones's user avatar
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 ...
BlueBerry - Vignesh4303's user avatar
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,...
guineawheek's user avatar
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 ...
rabejens's user avatar
  • 131
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 ...
Adam's user avatar
  • 21
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 ...
user2687408's user avatar
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, ...
user3145309's user avatar
0 votes
1 answer
1k views

Use a separate NIC for ssh

I have two NICs. I want to use one (eth0) for connecting to Host_A using SSH and the other (eth1) for everything else. I also run a Socks proxy through that SSH connection to Host_A. All traffic ...
Tobbe's user avatar
  • 369
1 vote
2 answers
3k views

Send all traffic to eth0, receive all traffic to eth0, except ssh access via eth1

I have: eth0 interface with 10.0.0.41 having public ip 54.x.x.x (will be used for VPN client) eth1 interface with 10.0.0.100 having public ip 57.x.x.x eth1 is where i am remotely connected using SSH ...
YumYumYum's user avatar
  • 1,685
0 votes
2 answers
5k views

How to tunnel all router's traffic through ssh tunnel

Environment :linksys wrt300n v1.1 which can have ddwrt-mega. Willing to tunnel all lan's outbound traffic through an ssh tunnel.
user1550146's user avatar
2 votes
0 answers
581 views

Multiple SSH Connections over different connections

I have a Linux box with a couple of 3G/HSDPA modems, seen as network connections, and i would like to get each to connect to a server over SSH. The server could be the same server, and i would need ...
TiernanO's user avatar
  • 698
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 ...
Nihar Sawant's user avatar