O
O
OverDrop2021-11-15 20:35:51
VPN
OverDrop, 2021-11-15 20:35:51

How to build a tunnel between Linux and Windows?

There is a host A from which you need to perform certain actions and a host B that has a VPN to the target network.

Host B is behind NAT, you need to have connectivity from host A to the target network. That is, for example, when executing the nmap 10.1.1.1 command, the host and target network should be scanned. I understand that for this you need to use one of the types of reverse vpn, but something got confused. Please tell me the correct sequence of commands for setting up such a tunnel. In principle, it doesn’t matter about the type of tunnel, but I probably lean more towards SSH VPN, but it’s important to understand that you need access to all ports on the target network.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2021-11-15
@rPman

Using linux terminology, vpn should create a tap type network interface (not tun, openvpn allows both types) that needs to be added to the network bridge with the network device of the local network to be accessed.
A network bridge can be created both on linux machines and on windows, which was successfully turned using openvpn, in this case it doesn’t matter who initially connected to whom, from the point of view of the final network, all machines will be in one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question