Community discussions

MikroTik App
 
ahmedagha
just joined
Topic Author
Posts: 16
Joined: Wed Oct 30, 2013 10:18 am

what is (src-address & parent-proxy) mean

Wed Nov 27, 2013 1:39 pm

hi every body :)
after looking in Google and youtube tutorials i found the configuration to do blocking on any website BUT the problem is i don't know what is ( src-address ) mean? and parent-proxy=0.0.0.0 ?? as shown below in this example of configuration
please someone tell me what are they mean and how can i config it to complet my configuration about blocking websites

note: i didn't add any IP and i have no DHCP in my mikrotik


/ip proxy
set enabled=yes
set src-address=0.0.0.0
set port=8080
set parent-proxy=0.0.0.0
set parent-proxy-port=0
set cache-administrator="webmaster"
set max-cache-size=none
set cache-on-disk=no
set max-client-connections=600
set max-server-connections=600
set max-fresh-time=3d
set always-from-cache=no
set cache-hit-dscp=4
set serialize-connections=no



best regards 8)
 
efaden
Forum Guru
Forum Guru
Posts: 1708
Joined: Sat Mar 30, 2013 1:55 am
Location: New York, USA

Re: what is (src-address & parent-proxy) mean

Wed Nov 27, 2013 8:02 pm

hi every body :)
after looking in Google and youtube tutorials i found the configuration to do blocking on any website BUT the problem is i don't know what is ( src-address ) mean? and parent-proxy=0.0.0.0 ?? as shown below in this example of configuration
please someone tell me what are they mean and how can i config it to complet my configuration about blocking websites

note: i didn't add any IP and i have no DHCP in my mikrotik


/ip proxy
set enabled=yes
set src-address=0.0.0.0
set port=8080
set parent-proxy=0.0.0.0
set parent-proxy-port=0
set cache-administrator="webmaster"
set max-cache-size=none
set cache-on-disk=no
set max-client-connections=600
set max-server-connections=600
set max-fresh-time=3d
set always-from-cache=no
set cache-hit-dscp=4
set serialize-connections=no



best regards 8)

Parent-Proxy allows you to chain proxies... if it is 0.0.0.0 then it is disabled... if it is anything else then the proxy will direct all requests to the parent instead of directly.

Src-Address forces the proxy to use a certain source if the router has multiple addresses and you want the requests to come from a specific one... otherwise it will default to using the routing table to determine the src based on the appropriate route. 0.0.0.0 means to use the routing table.
 
ahmedagha
just joined
Topic Author
Posts: 16
Joined: Wed Oct 30, 2013 10:18 am

Re: what is (src-address & parent-proxy) mean

Thu Nov 28, 2013 7:26 am

first thank you for your help but i have another question is: parent IP & src-address from where i have to get them? do i have to put any IP as i like? or i should get public IP from ISP?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: what is (src-address & parent-proxy) mean

Thu Nov 28, 2013 1:14 pm

src-address is used in case when users wants to assign certain IP address for use by proxy. (Requests to parent proxy or requests to servers. Address should be present on the router.

parent-proxy - if requested page is not in cache, instead of requesting web server proxy will query another proxy.

please see http://wiki.mikrotik.com/wiki/Manual:IP/Proxy

as this is basic information from the manual.

Who is online

Users browsing this forum: holvoetn, nkourtzis, Pigsfoot, snowzach and 62 guests