Ja, hätte auch die rc.custom ausführen können, stehen aber noch andere Sachen mit drin die, daher hab ich's lieber schnell ausgelagert.
Privoxy liegt im external und wird automatisch gestartet. Aber stimmt, habe ich nicht daran gedacht, dass es daher erst nach der rc.custom ausgeführt wird.
Eben noch mal das Script gestartet und versucht google aufzurufen, danach die 2 Befehle von dir eingegeben.
Code:
root@fritz:/var/mod/root# iptables -L -n -v -t nat
Chain PREROUTING (policy ACCEPT 6951 packets, 932K bytes)
pkts bytes target prot opt in out source destination
6 304 REDIRECT tcp -- guest * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 8118
6 304 REDIRECT tcp -- guest * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 redir ports 8118
Chain POSTROUTING (policy ACCEPT 2560 packets, 155K bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 455 packets, 32696 bytes)
pkts bytes target prot opt in out source destination
Code:
root@fritz:/var/mod/root# iptables -L -n -v
Chain INPUT (policy ACCEPT 14606 packets, 3450K bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 184K packets, 138M bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 12108 packets, 4315K bytes)
pkts bytes target prot opt in out source destination