12 files changed:
--- /dev/null
+apt-get install pppoe
--- /dev/null
+/etc/ppp/pppoe-server-options
\ No newline at end of file
--- /dev/null
+# PPPoE server
+#nologin
+mru 1492
+noreplacedefaultroute
+proxyarp
+ms-dns 192.168.1.2
+
--- /dev/null
+/etc/ppp/pap-secrets
\ No newline at end of file
--- /dev/null
+# PPPoE server
+#client hostname <password> IP
+test * "test" *
--- /dev/null
+/etc/ppp/chap-secrets
\ No newline at end of file
--- /dev/null
+# PPPoE server
+# client server secret IP addresses
+test * test *
--- /dev/null
+ifconfig eth0:10 10.0.0.1 up
--- /dev/null
+pppoe-relay -B eth0:1 -C eth0 -n 1 -F
--- /dev/null
+pppoe-server -I eth0:1 -T 60 -C fake -S fake -L 10.0.0.2 -R 10.0.0.10 -N 1 -F
--- /dev/null
+iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j SNAT --to-source 192.168.1.90
--- /dev/null
+tshark -i eth0 -f '!port 80'