I am trying to ssh tunnel a minecraft server from my school to my Linux Server at home. I don't have access in any router at the school so i think the only way to tunnel this 2 machines is via ssh. Then, I will port forward the machine on my home so I will have the minecraft server worldwide. But, whatever I do, I get 'connect_to <minecraft_server_pc_ip> port : failed.'
I ran "ssh -R :<minecraft_server_ip>: <user_OfServerAtHome>@<domain_NameOfHomeServer> -p <port_OfSshHomeServer>
After that, it connects in the ssh normally, and every time I ask any information from my home server, as I said I get: 'connect_to <minecraft_server_pc_ip> port : failed.'
I tried port forwarding an http page to check if it works (I knew it worked before because I've already tried it), and I get the same 'connect_to <http_server> port : failed.' every time I visit the page from the server at my home.
So, probably, I did something and stopped working even the thing that worked before. what would prpbably cause this problem??
Here is the result after I run the tunnelling command with '-vvv'
debug3: receive packet: type 90 debug1: client_input_channel_open: ctype forwarded-tcpip rchan 3 win 2097152 max 32768 debug1: client_request_forwarded_tcpip: listen port 4444, originator 192.168.1.99 port 61741 debug2: fd 7 setting O_NONBLOCK debug2: fd 7 setting TCP_NODELAY debug1: connect_next: host 192.168.3.230 ([192.168.3.230]:4444) in progress, fd=7 debug3: fd 7 is O_NONBLOCK debug3: fd 7 is O_NONBLOCK debug1: channel 1: new [192.168.1.99] debug1: confirm forwarded-tcpip debug3: channel 1: waiting for connection debug3: receive packet: type 90 debug1: client_input_channel_open: ctype forwarded-tcpip rchan 4 win 2097152 max 32768 debug1: client_request_forwarded_tcpip: listen port 4444, originator 192.168.1.99 port 61742 debug2: fd 8 setting O_NONBLOCK debug2: fd 8 setting TCP_NODELAY debug1: connect_next: host 192.168.3.230 ([192.168.3.230]:4444) in progress, fd=8 debug3: fd 8 is O_NONBLOCK debug3: fd 8 is O_NONBLOCK debug1: channel 2: new [192.168.1.99] debug1: confirm forwarded-tcpip debug3: channel 1: waiting for connection debug3: channel 2: waiting for connection debug1: channel 1: connection failed: No route to host connect_to 192.168.3.230 port 4444: failed. debug3: send packet: type 92 debug2: channel 1: zombie debug2: channel 1: garbage collecting debug1: channel 1: free: 192.168.1.99, nchannels 3 debug3: channel 1: status: The following connections are open: #0 client-session (t4 r2 i0/0 o0/0 e[write]/0 fd 4/5/6 sock -1 cc -1) #2 192.168.1.99 (t12 r4 i0/0 o0/0 e[closed]/0 fd 8/8/-1 sock 8 cc -1) debug1: channel 2: connection failed: No route to host connect_to 192.168.3.230 port 4444: failed. debug3: send packet: type 92 debug2: channel 2: zombie debug2: channel 2: garbage collecting debug1: channel 2: free: 192.168.1.99, nchannels 2 debug3: channel 2: status: The following connections are open: #0 client-session (t4 r2 i0/0 o0/0 e[write]/0 fd 4/5/6 sock -1 cc -1) Note that: IP "192.168.3.230" is the pc with the http server on it IP "192.168.1.99" is the Ip of the router on my home with the target of the tunneling PORT "4444" is the port in both machines that I the http is from and to (port1:4444, port2:4444)
Thanks for your time! :D
EDIT: I must note that I have an OpenVPN server installed on the home server pc. I also have 2 Network Cards on this PC, which in on of them is the OpenVPN server and the other is for general uses. Also, the last time I used tunneling for the http server it worked, even with the VPN Server installed.
5 Reset to default