Jump to content

On one of the projects I admin, we use AnyDesk on a lot of servers, and it works quite well.  I believe this TCP tunneling would be similar to using an SSH tunnel (if you have used it) to tunnel applications eg: using VNC over an ssh tunnel.  I'm not 100% certain but because it's AnyDesk the tunnel will probably be able to bypass firewalls and be convenient in that way I suppose. 

 

To explain this, it's more like creating direct tunnels for applications rather than using a VPN.  If you only wanted that remote access to let's say, VNC into a computer on the network, this would be good, as you could create a tunnel yourip:5010 -- serverIP:5800. Which now means you can connect to serverIP/AndeskID:5010.  

 

I think for general purposes, I do not recommend using this. It seems overly complicated, and should only be used if: 

  • You use AnyDesk for many servers already, and cannot install or configure new remote access software/methods because of policy or access limitations. 
  • You would like to use one service (eg: FTP, VNC) between two computers only and potentially through a firewall. 

 

My personal advice, as I recently recommended in another networking post, is SoftEther or ZeroTier.  If you would like to learn a lot about networking, you can also set up OpenVPN, or a SSH Jumphost. 

 

If you need any help with any of these, or if I can help further in any way, just gimme a ping. 

Link to comment
https://linustechtips.com/topic/1131628-tcp-tunneling/#findComment-13105897
Share on other sites

Link to post
Share on other sites

1 hour ago, carrickwater said:

Can someone please explian this to me.  https://support.anydesk.com/TCP-Tunneling I posted some days ago on a thread I made about creating my own home VPN server, and I think this can work, but I don't understand it properly. Thank you.

I recommend you watch this video. This will explain how TCP tunneling works, most likely this isn't what you want.

 

I have used TCP tunneling on certain open networks out in public that block VPN's from connecting. So you can use TCP tunneling to encase the VPN traffic into a legit TCP request to server or service that isn't blocked by the network or ISP ect. Once the receiving server receives your legit request and unpacks it and sees that that traffic is intended for that server and forwards the payload to the intending server.

 

 

Internet Connection

My Rig: AMD Ryzen 9 3900X @ 4.3Ghz | Asus Prime X470-Pro | Corsair Vengeance RGB Pro 32 GB (4 x 8GB) DDR-4 3000Mhz OC'd @ 3400Mhz 16-20-20-38 |

EVGA RTX 2070 8GB XC Gaming OC @ 2145Mhz Boosted/ 1925Mhz Memory | WD SN750 500GB M.2 NVME | Gigabye 240GB SSD | 
XSPC EX 360mm | Corsair XC7 RGB CPU WB | EK-Vector RTX 2080 | Alphacool Eisbecher D5 150mm Plexi | XSPC Fittings | XSPC FLX Clear 7/16" ID, 5/8" OD |
Corsair LL120 x6 | Corsair RM750x White 2018 | Corsair Commander Pro | Corsair Obsidian 500D RGB SE | Corsair RGB LED Lighting PRO Expansion |
Corsair Strafe RGB MK.2 | Corsair Ironclaw RGB Wireless 18,000DPI | Acer 32" 4K 60Hz HDR600 Cert. ET322QK CBMIIPZX |

Passmark Score

3dmark Score

PC Parts Picker Link to Build

Network

Netgear LBR20 LTE Router | Verizon Unlimited Prepaid Hotspot Plan

HP 2530-48G-PoEP Switch

Rasberry Pi 4 Running Pihole

Linksys Velop 3 Mesh Wifi AP's

 

Link to comment
https://linustechtips.com/topic/1131628-tcp-tunneling/#findComment-13105990
Share on other sites

Link to post
Share on other sites

1 hour ago, Akolyte said:

On one of the projects I admin, we use AnyDesk on a lot of servers, and it works quite well.  I believe this TCP tunneling would be similar to using an SSH tunnel (if you have used it) to tunnel applications eg: using VNC over an ssh tunnel.  I'm not 100% certain but because it's AnyDesk the tunnel will probably be able to bypass firewalls and be convenient in that way I suppose. 

 

To explain this, it's more like creating direct tunnels for applications rather than using a VPN.  If you only wanted that remote access to let's say, VNC into a computer on the network, this would be good, as you could create a tunnel yourip:5010 -- serverIP:5800. Which now means you can connect to serverIP/AndeskID:5010.  

 

I think for general purposes, I do not recommend using this. It seems overly complicated, and should only be used if: 

  • You use AnyDesk for many servers already, and cannot install or configure new remote access software/methods because of policy or access limitations. 
  • You would like to use one service (eg: FTP, VNC) between two computers only and potentially through a firewall. 

 

My personal advice, as I recently recommended in another networking post, is SoftEther or ZeroTier.  If you would like to learn a lot about networking, you can also set up OpenVPN, or a SSH Jumphost. 

 

If you need any help with any of these, or if I can help further in any way, just gimme a ping. 

I'll be sure to do that, since I was having problems with SoftEther, that's why I looked at this.

Link to comment
https://linustechtips.com/topic/1131628-tcp-tunneling/#findComment-13106002
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×