VirtualBox

Version 4 (modified by Klaus Espenlaub, 17 years ago) ( diff )

--

Setup networking via a PPP tunnel

Contributed by Ibrahim Ben Faruhn, 2008/04/09

This is a simple howto to avoid having to make bridge devices just for IP-based bidirectional connectivity.

Host-OS: debian linux iapt-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

Note: See TracWiki for help on using the wiki.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette