You are not logged in.
Dear visitor, welcome to Aqua Computer Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Bubble
Full Member



Quoted from "tm131"
oOBubbleOo is glaub ich das "tapfere Schneiderlein". Gleich sieben auf einen Streich.
)
Bubble
Full Member




|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# Forwareden wollen wir mal aktivieren echo 1 > /proc/sys/net/ipv4/ip_forward # Löschen der vorhandenen regeln ... iptables -t filter -F INPUT iptables -t filter -F FORWARD iptables -t filter -F OUTPUT iptables -t nat -F OUTPUT iptables -t nat -F PREROUTING iptables -t nat -F POSTROUTING # default wird aber nichts weitergeleitet da sonst jeder deinen # rechner als gateway nehmen könnte iptables -t filter -P FORWARD DROP # so und jetzt erlauben wir forwarding für unser internes netz iptables -t nat -I POSTROUTING 1 -o ppp0 -s 192.168.0.0/24 -j MASQUERADE # oops - unter filter blockiert ja alles aber damit können wir ganz #spezielle einen rechner ins netz setzen [rein und raus] iptables -t filter -A FORWARD -s 192.168.0.33 -j ACCEPT iptables -t filter -A FORWARD -d 192.168.0.33 -j ACCEPT |
Quoted from "tm131"
oOBubbleOo is glaub ich das "tapfere Schneiderlein". Gleich sieben auf einen Streich.
Bubble
Full Member



Quoted from "tm131"
oOBubbleOo is glaub ich das "tapfere Schneiderlein". Gleich sieben auf einen Streich.
-