Community discussions

MikroTik App
用户头像
piotr_uzar
刚刚加入了
Topic Author
Posts: 17
加入: Thu Jul 24, 2008 12:48 pm
Location:Poland

Marking web proxy on pppoe

Thu Oct 22, 2009 11:07 am

Hello

How can I mangle traffic from proxy with pppoe ( only ) server enabled.
This type of catching doesn't work
Code:Select all
chain=output action=log protocol=tcp out-interface=Local dscp=4 log-prefix="from_proxy="
proxy configuration
Code:Select all
enabled: yes src-address: xxx.xxx.xxx.xxx port: 8080 parent-proxy: 0.0.0.0 parent-proxy-port: 0 cache-administrator: "something" max-cache-size: 218000KiB cache-on-disk: yes max-client-connections: 600 max-server-connections: 600 max-fresh-time: 3d serialize-connections: yes always-from-cache: no cache-hit-dscp: 4 cache-drive: secondary-master
Proxy redirection and client adding
Code:Select all
1 chain=dstnat action=redirect to-ports=8080 protocol=tcp src-address=172.27.0.0/24 dst-port=80 3 chain=srcnat action=masquerade src-address=172.27.0.3
Top
用户头像
Chupaka
Forum Guru
Forum Guru
Posts: 8689
加入: Mon Jun 19, 2006 11:15 pm
Location:Minsk, Belarus
Contact:

Re: Marking web proxy on pppoe

Thu Oct 22, 2009 4:58 pm

replace 'out-interface=Local' with 'dst-address=your_pppoe_address_pool'
Top

Who is online

Users browsing this forum:aboiles,Ahrefs [Bot],Bing [Bot],charleselie,dcalanchini,ninze,s4ndm4n,texmeshtexasand 39 guests