AW: Wie einrichtbar? Hallo
Hier der Inhalt
Dial-up emulation
Here is a method to test dial-up PPP connections without resorting to a real modem and a real Internet provider available on the Plain Old Telephony System. It needs a system running Tails and another one (the gateway) running standard Debian. So this requires either two computers in the same LAN or runing Tails using virtualization.
Prepare the networking stack on the gateway :
# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
# sysctl -w net.ipv4.ip_forward=1
In Tails, create .wvdial.conf:
[Dialer Defaults]
Baud = 115200
Init = ATZ
Init2 = AT%R1
Phone = 192.168.1.2:6789
Username = test
Password = test
Carrier Check = off
Replace the IP address in Phone with the IP address of the other system.
In Tails, install the modemu package.
In Tails, remove the default route to let room for the one provided by PPP:
# ip route del default
On the gateway run:
# pppd noauth local lock nodefaultroute persist debug nodetach 10.1.2.3:10.4.5.6 pty "nc -l 6789"
And fairly quickly (before pppd times out), run on Tails:
$ sudo modemu -c 'ln -nsf %s /dev/modem ; wvdial -C .wvdial.conf'
Ich habe noch eine Frage zu dem ganzen
Wie richte ich denn unter Virtualbox ein Netzwerk ein mit den 2 virtuellen Linuxrechnern?
Also wenn ich 2 virtuelle Linuxrechner mit virtualbox erstelle wie richte ich dann das virtuelle netzwerk zwischen denen ein bzw vergebe jedem Rechner eine IP adresse? |