Set up an HTB (Hack The Box) OpenVPN client in Ubuntu 18 to act as a VPN gateway and forward traffic from your LAN, which includes a Kali machine, to the internal network of HTB.
- Problem: OpenVPN allow single connection concurrently to connect to the HTB lab. Hence, we can't distribute the OpenVPN config file to others as it will kick out the previously connected user.
- What to expect: Able to share connection with multiple clients within the same network to HTB lab via Ubuntu server as VPN gateway.
- Issue to expect: 1) Could not establish reverse shell directly to Kali machine.
- Workaround: 1) Use port forwarder eg, use socat or iptables in Ubuntu gateway and forward to Kali machine