AnswerBun.com

Access local machines from Virtualbox VM on VPN

Super User Asked by Matthieu.V on September 13, 2020

I have a Virtualbox VM running under Windows 7, and connected to a remote VPN through a software called "Check Point". This VPN connection is required to retrieve data from a remote database.

Now, I would like to send the retrieved data to a server in my local network.
The problem is that while connected to the VPN, my VM cannot of course find this local server (and I have absolutely no possibility to change anything in the VPN).

One solution that I tried was to define a second network interface on my VM, in NAT mode, and redirect traffic from 127.0.0.1 on port 2222 to the IP of my local server on port 22 (for instance), but could not manage to make it work.

Is this solution possible, or do you have any other idea how to perform this?

One Answer

If I get this right, you have a local network using the same address prefix as the one defined by your VPN provider.

In this case, you have to delete the conflicting routes set up by CheckPoint and replace them with a more precise mask (deleting a 10.0.0.0/8 then add 10.128.0.0/9).

Do this in the Windows VM conencted to the VPN using the ROUTE command.

ROUTE DELETE 10.0.0.0 MASK 255.0.0.0 IF <vpn_iterface_number>
ROUTE ADD 10.0.0.0 MASK 255.128.0.0 IF <vpn_iterface_number>

Correct answer by MikaDo- on September 13, 2020

Add your own answers!

Related Questions

Can’t Install VCLibs v140 x64

1  Asked on February 10, 2021 by 404-name-not-found

     

Inno Setup ChangeEnvironment not working

1  Asked on February 10, 2021 by user3812737

 

Intel Core i7-1065g7 Windows 10 node 6.9.2 correctly not working?

0  Asked on February 9, 2021 by chathura-lakshitha

 

Open links in Notepad++ with keyboard

2  Asked on February 8, 2021 by robot-monk

 

Testing multicast – not getting proper results

1  Asked on February 8, 2021 by micha-lipok

 

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir