0

I'm trying to use teamviewer to connect to a computer which is located in another network but my computer have access to the destination port (Network administrators have written route. Computers are in a separate VLANs )

Let say it clearly. My PC's IP address is 10.0.0.15 and the destination is 10.1.0.20. My PC does have network access to the destination port.

I have tried the scenario in same Vlan and it worked. But I don't know why I can't get access to the destination server in a different Vlan.

Both computers are Windows Server 2012.

Every suggestion would be grateful.

  • As you have a Windows server OS wouldn't RDP be an obvious choice? – Robert Feb 22 '22 at 20:18
  • Hi Robert. Thanks for reply. I know RDP, but it doesn't eliminate my issue. I used to use radmin viewer, but for security problems I have to find an alternative for it. Obviously TeamViewer is a good one. – sajjad talezari Feb 24 '22 at 19:08

1 Answers1

1

VLANs are only useful within a shared L2 infrastructure. VPN is (usually) L3, so you route into the VLANs from the VPN tunnel endpoint (and vice versa, for simplicity I'm referring to the in direction only). The destination address is the L3 subnet, located in a VLAN.

For security, you filter by combination of source address and destination subnet (or address) between the tunnel and the inter-VLAN router. Of course, that implies that you trust the far tunnel endpoint, ie. you can be sure that the source IP has not been spoofed. If that isn't the case you either need to use other means of user identification or multiple tunnels for the various trust zones.

Routing needs to be consistent, so that all routers on each tunnel side know where to route all subnets. Set up static routes or use a routing protocol like OSPF. In your diagram, the L3 switch and the right-hand router need to know the route to "Remote Device". In turn, Remote Device needs to have routes for 192.168.1.0/24, 192.168.10.0/24 and 192.168.20.0/24 pointing into the tunnel. Additionally, the tunnel needs to be able to transport these destination addresses.