pf.conf: Frage zu Ausnahmen für rdr Regel

Errorsmith

Kompiliertier
Hi

Ich bin grad etwas vernagelt scheint mir.
Ich habe das da:
Code:
sv_proxy="'192.168.200.1'"
...
...
net_clients="'192.168.82.0/24'"
...
...
table <noproxy> persist { 192.168.82.130, 192.168.82.133 }
...
...

Ich möchte das alle Anfragen aus dem Subnetz net_clients über einen transparenten Proxy laufen, mit Ausnahme der im table <noproxy> definierten hosts.

Ich komme grad nicht drauf wie man das umsetzt. Mein Ansatz
Code:
rdr proto tcp from { $net_clients, !<noproxy> } to any port http -> $sv_proxy port 3129

scheint jedenfalls nicht zu funktionieren...

Kann mich da mal jemand in die richtige Richtung schubsen bitte?

Grüße,
errorsmith
 
Zurück
Oben