Arkadaşlar Mrb,
Kaç gündür üzerinde çalıştığım bir konuda yardımda bulunabilirseniz
sevinirim.
squid de tanıtmış olduğum acl lerimi tcp_outgoing ile farklı gw lere
yönlendirdim.
acl A src "A"
acl B src "B"
acl C src "C"
acl D src "D"
acl E src "E"
tcp_outgoing_address 192.168.4.2 A
tcp_outgoing_address 192.168.4.2 B
tcp_outgoing_address 192.168.4.2 C
tcp_outgoing_address 192.168.0.2 D
tcp_outgoing_address 192.168.0.2 E
squid tarafında D ve E için gw2 git dedikten sonrada pf de
lan_net = "{ 192.168.5.0/24 }"
int_if = "bge0"
ext_if = "vr0"
ext_if2 = "em0"
ext_gw1 = "192.168.4.1"
ext_gw2 = "192.168.0.1"
bim_ip = "{192.168.5.13,192.168.5.15}"
at on $ext_if2 from $bim_ip to any -> ($ext_if2)
nat on $ext_if from $lan_net to any -> ($ext_if)
pass in quick on $int_if route-to { ($ext_if2 $ext_gw2) } proto {tcp udp
icmp} from $bim_ip to any flags S/SA keep state
pass in quick on $int_if route-to ($ext_if $ext_gw1) proto tcp from
$lan_net to any port $lan_port flags S/SA keep state
pass out on $ext_if route-to ($ext_if $ext_gw1) from $ext_if to any keep
state
pass out on $ext_if2 route-to ($ext_if2 $ext_gw2) from $ext_if2 to any
keep state
bu şekilde de kaynağı bim_ip olan pc leri gw2den gidiyor problem yok ama
80 giden istekler gw1 gidiyor acaba nerde bir yanlışlık yapıyorum kaynağı
bim_ip olan pclerin bütün isteklerini gw2 nasıl yönledirebilirim.
Kolay Gelsin
FreeBSD 6 kitabi: http://www.acikakademi.com/catalog/freebsd6
---------------------------------------------------------------------
Listeye soru sormadan once lutfen http://ipucu.enderunix.org sitesine bakiniz.
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://news.gmane.org/gmane.org.user-groups.bsd.turkey