-
Notifications
You must be signed in to change notification settings - Fork 705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenVPN bridged setup: Unable to reach hosts #233
Comments
Thanks a lot for the VPN idea to gain access to the Host-Only Virtualbox machines hosted on Ubuntu from a Kali. 😄 |
Haha I'm very curious if that works as I thought I'd have the same issue trying to bridge across adapters, just inside a VM instead |
Yeah it does, all Windows Server are running with HostOnly network config on VirtualBox (192.168.56.0/24). I installed a VPN server directly on the Ubuntu host (192.168.1.201) then connect it with the Kali client (192.168.1.200). Now I'm able to list smb shares for the network 192.168.56.0/24 from my Kali. |
Btw I can see that you have a bridged network interface br0. You could also try to disable ufw, it could be the problem 🙂 |
I did try disabling ufw and opening up routing rules but that didn't work either. I eventually gave up trying as my usecase for using a VPN eventually expired. I might give the VM idea a go if I need to try this again though |
Disclaimer
This may be out of scope for this repository so please redirect me somewhere else if it's not ideal
Description
I've setup a tap/bridged VPN using this guide to get into my host-only subnet from the internet. Although the VPN connects, I can't seem to access any of the GOAD hosts on the host-only adapter's subnet. I'd appreciate some help on figuring out why this is (nothing has been changed about regarding the GOAD setup).
Setup
OpenVPN
server.conf
OpenVPN
client.conf
Relevant interfaces
Relevant firewall rules, some rules are repeated while I was messing around with stuff
UFW Defaults
UFW sysctl.conf defaults
Method to reproduce
What I expect
Services running on the GOAD machines should be exposed to the VPN client
What I've tried
My suspicion in that there is something wonky with the internal networking on my host but can't prove it
Environment
Linux <HOSTNAME-OMMITED> 5.15.0-105-generic #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: