Thursday, February 26, 2015

How to Shut off ipv6 & enable ipv4 networking in a virtualbox environment

This one's been an annoying feature that I'm going to solution quickly and store for reference.

Here's the problem - No Private network when connected via Bridge Mode due to client network settings.

The goal is to disable ipv6 and enable ipv4, gain a 192.168.1.* address from the local network DHCP server.

Once Complete, I will my port forwarding rules will activate and allow external access to the webserver via http://localhost:8080/ on the host's local web browser.

Modify:  /etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
then restart your network adapter 

No comments: