Skip to content

Instantly share code, notes, and snippets.

@Ademking
Last active July 31, 2020 03:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ademking/500c3738c3b1dfdf65547560d4267274 to your computer and use it in GitHub Desktop.
Save Ademking/500c3738c3b1dfdf65547560d4267274 to your computer and use it in GitHub Desktop.
How to expose virtual machine to Internet and make LDAP accessible

How to expose virtual machine to Internet and make LDAP accessible

In this example we need to make port 389 (LDAP) accessible

  1. In virtualbox, go to :
Machine --> Settings --> Network --> Attached to: Bridged Adapter
  1. In your virtual machine, get your guest ipv4 address. In our case it's: 192.168.1.4

  2. In your Host machine, we need to Port forward open your router settings:

Tuto: https://www.noip.com/support/knowledgebase/general-port-forwarding-guide/

In our example we need to port forward 389 (LDAP) to 192.168.1.4 (Guest)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment