VirtualBox

Version 2 (modified by Klaus Espenlaub, 16 years ago) ( diff )

--

Setup networking via a PPP tunnel

This is a simple howto to prevent you from making bridge devices just to connect fully the host-os with the vbox-os by IP

Host-OS: debian linux

apt-get install ppp netcat

VBox-OS: debian linux

apt-get install ppp netcat

Host-OS:

pppd noauth local lock nodefaultroute persist debug nodetach 10.1.2.3:10.4.5.6 pty "netcat -l -p 3042"

VBox-OS: (run this quick, before the previous pppd command on Host-OS gives a timeout)

pppd noauth local lock nodefaultroute persist debug nodetach passive pty "netcat 200.200.200.200 3042"

where 200.200.200.200 is the real IP of the Host-OS

Now, Host IP is 10.1.2.3 and VBox IP is 10.4.5.6 and you can access all udp/tcp ports from one to another

by Pedro Zorzenon Neto - 09-Apr-2008 this mini-howto is copyrighted under the MIT licence:

http://www.opensource.org/licenses/mit-license.php

Note: See TracWiki for help on using the wiki.

© 2023 Oracle
ContactPrivacy policyTerms of Use