1

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?

1 Answer 1

1

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>
1
  • 1
    This is perfect, thank you!
    – Matthieu.V
    Aug 27, 2020 at 9:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .