2
I just wanna know how to access [C]
from [B]
given the following diagram?
┌─────────────────────────┐ ┌───────────────────────┐
│ HOME LAN │ ┌────────>│ OFFICE LAN │
├─────────────────────────┤ │ ├───────────────────────┤
│ │ │ │ │
│ ┌───────────────┐ │ │ │ ┌─────────────────┐ │
│ │ A ─ PC / IP_A │ │ │ │ │ C ─ PC / IP_C │ │
│ ├───────────────┤ │ │ │ └─────────────────┘ │
│ │ VPN ├────┼──────┘ │ │
│ │ Connection │ │ │ ┌─────────────────┐ │
│ └───────────────┘ │ │ │ D ─ PC / IP_D │ │
│ │ │ └─────────────────┘ │
│ ┌───────────────────┐ │ │ │
│ │ B ─ MOBILE / IP_B │ │ │ ┌─────────────────┐ │
│ └───────────────────┘ │ │ │ E ─ PC / IP_E │ │
│ │ │ └─────────────────┘ │
└─────────────────────────┘ │ │
└───────────────────────┘
For me is not possible to make configurations on the router of any of both LANs.
I can successfully ping to [IP_C]
from [A]
where I use Windows 10
.
In case there is no way to configure things to ping [IP_C]
from [B]
directly, is there any way to configure things for example, creating another IP inside [A]
, like: [IP_F]
, so when I do whatever request to [IP_F]
that traffic be redirected to [IP_C]
?
That way I could access [C]
from [B]
via [IP_F]
.
Thanks.
1Wonder if you could enable IP Forwarding / IP Routing from
PC-A
and then usePC-A
as the default gateway forMobile-B
and whenPC-A
is connected to the VPN if that would then forward packets it forwards across the VPN tunnel as expected? If you can work it out, that's an idea but you'd have to work out all the details, etc. as I don't have that information right now nor do I understand what OS yourIP-A
machine is so that may be different for IP forward for Windows vs Linux for example. – Pimp Juice IT – 2018-04-07T04:30:46.163I use
Windows 10
on[A-PC]
. Also, I don't know if I could do special configurations on[B-Mobile]
. I would prefer not to modify[B-Mobile]
. – davidesp – 2018-04-07T04:33:19.653You might look over this post: http://keepthetech.com/2016/01/enable-ip-routing-on-windows10.html and then you might need to setup IP routes on the
– Pimp Juice IT – 2018-04-07T04:41:13.003PC-A
to send packets back toMobile-B
's IP address (see here for example: https://superuser.com/questions/1260326/routing-between-two/1260655#1260655) but use that and my first comment suggestion as a starting point if that's something you want to try at least. Be sure to note what you change so you can undo those changes if it does not resolve though.