Page 1 of 1

Proxy client with Mikrotik

Posted: Thu Jan 06, 2011 9:41 pm
by psycoclan1
Ok guys, here's a new question :)
i have a friend in the wireless network who is connected to internet through my proxy server (10.124.39.65:62222). Now he bought a Linksys PAP2T to have a voip number. He doesnt have a routerboard so he bought a mikrotik rb750. How can i setup the proxy client inside mikrotik in order his whole home network connect to internet through proxy automatically, cause PAP2 as far as i saw it has no settings for proxy server.

his home network : (ANTENNA+TP-LINK)---------------HUB-------Devices
his "future" home network : (ANTENNA+TPLINK)--------RB750-------Devices

Re: Proxy client with Mikrotik

Posted: Fri Jan 07, 2011 3:25 pm
by sergejs
1) Enable proxy;
2) Set DST-NAT rule to HTTP traffic to the proxy;
3) Set parent-proxy at /ip proxy configuration.

Re: Proxy client with Mikrotik

Posted: Sat Jan 08, 2011 5:58 am
by psycoclan1
cheers mate! thank you very much!

Re: Proxy client with Mikrotik

Posted: Tue Jan 11, 2011 1:27 am
by psycoclan1
2) Set DST-NAT rule to HTTP traffic to the proxy;
I have some trouble with the 2nd step. how can i setup this?

Re: Proxy client with Mikrotik

Posted: Tue Jan 11, 2011 1:30 am
by fewi
http://wiki.mikrotik.com/wiki/How_to_ma ... _web_proxy
ip firewall nat add in-interface=ether1 dst-port=80 protocol=tcp action=redirect to-ports=8080 chain=dstnat 

Re: Proxy client with Mikrotik

Posted: Tue Jan 11, 2011 1:36 am
by psycoclan1
http://wiki.mikrotik.com/wiki/How_to_ma ... _web_proxy
ip firewall nat add in-interface=ether1 dst-port=80 protocol=tcp action=redirect to-ports=8080 chain=dstnat 
thank you for the quick reply
i assume that in my case i have to change : action=redirect to-ports=62222

but as long as i want his network use every services in the internet (not only HTTP services), what port should i use in dst-port?

Re: Proxy client with Mikrotik

Posted: Tue Jan 11, 2011 1:39 am
by fewi
You can only proxy HTTP. That said, dst-port can take multiple ports: "dst-port=80,8080,8888".

Re: Proxy client with Mikrotik

Posted: Tue Jan 11, 2011 1:41 am
by psycoclan1
You can only proxy HTTP. That said, dst-port can take multiple ports: "dst-port=80,8080,8888".

hm i understand, but how can i proxy VoIP telephony through this setup?

Re: Proxy client with Mikrotik

Posted: Tue Jan 11, 2011 1:46 am
by fewi
You cannot.

Re: Proxy client with Mikrotik

Posted: Tue Jan 11, 2011 2:17 am
by psycoclan1
You cannot.
i see. is it possible then to setup an PPTP Server on my MT bridged with the PPTP Client i use to go online, and then setup a PPTP Client on his MT which will call my MT?



|NETWORK||PPTP Server|----VPN-----|MY_Mikrotik||PPTP Client|-|PPTP Server 2|-------------|Friend's Mikrotik||PPTP Client|------|Friend's LAN||VoIP|