Setup networking via a PPP tunnel
Contributed by Pedro Zorzenon Neto, 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
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, for the guest the host IP is 10.1.2.3, and for the host the guest IP is 10.4.5.6 and you can access all udp/tcp ports from one to another.
Last modified
17 years ago
Last modified on Apr 9, 2008 3:40:26 PM
Note:
See TracWiki
for help on using the wiki.