# Proxy client with Mikrotik

**URL:** <https://forum.mikrotik.com/t/proxy-client-with-mikrotik/43612>\
**Category:** Forwarding Protocols\
**Created:** [January 6, 2011, 7:41pm UTC](https://forum.mikrotik.com/t/proxy-client-with-mikrotik/43612 "2011-01-06T19:41:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![psycoclan1](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/psycoclan1/32/506_2.png) [@psycoclan1](https://forum.mikrotik.com/u/psycoclan1)\
**Post date:** [January 6, 2011, 7:41pm UTC](https://forum.mikrotik.com/t/proxy-client-with-mikrotik/43612/1 "2011-01-06T19:41:32Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sergejs](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/sergejs/32/93_2.png) [@sergejs](https://forum.mikrotik.com/u/sergejs)\
**Post date:** [January 7, 2011, 1:25pm UTC](https://forum.mikrotik.com/t/proxy-client-with-mikrotik/43612/2 "2011-01-07T13:25:46Z")

</div>

1. Enable proxy;
2. Set DST-NAT rule to HTTP traffic to the proxy;
3. Set parent-proxy at /ip proxy configuration.

---

<div class="post-metadata">

**Author:** ![psycoclan1](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/psycoclan1/32/506_2.png) [@psycoclan1](https://forum.mikrotik.com/u/psycoclan1)\
**Post date:** [January 8, 2011, 3:58am UTC](https://forum.mikrotik.com/t/proxy-client-with-mikrotik/43612/3 "2011-01-08T03:58:36Z")

</div>

cheers mate! thank you very much!

---

<div class="post-metadata">

**Author:** ![psycoclan1](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/psycoclan1/32/506_2.png) [@psycoclan1](https://forum.mikrotik.com/u/psycoclan1)\
**Post date:** [January 10, 2011, 11:27pm UTC](https://forum.mikrotik.com/t/proxy-client-with-mikrotik/43612/4 "2011-01-10T23:27:40Z")

</div>

> [@sergejs](#):
>
> 1. Set DST-NAT rule to HTTP traffic to the proxy;

I have some trouble with the 2nd step. how can i setup this?

---

<div class="post-metadata">

**Author:** ![fewi](https://forum.mikrotik.com/letter_avatar/fewi/32/6_449c533f586939b6e5f246632a46421f.png) [@fewi](https://forum.mikrotik.com/u/fewi)\
**Post date:** [January 10, 2011, 11:30pm UTC](https://forum.mikrotik.com/t/proxy-client-with-mikrotik/43612/5 "2011-01-10T23:30:25Z")

</div>

[http://wiki.mikrotik.com/wiki/How\_to\_make\_transparent\_web\_proxy](http://wiki.mikrotik.com/wiki/How_to_make_transparent_web_proxy)

```plaintext
ip firewall nat add in-interface=ether1 dst-port=80 protocol=tcp action=redirect to-ports=8080 chain=dstnat

```

---

<div class="post-metadata">

**Author:** ![psycoclan1](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/psycoclan1/32/506_2.png) [@psycoclan1](https://forum.mikrotik.com/u/psycoclan1)\
**Post date:** [January 10, 2011, 11:36pm UTC](https://forum.mikrotik.com/t/proxy-client-with-mikrotik/43612/6 "2011-01-10T23:36:39Z")

</div>

> [@fewi](#):
>
> [http://wiki.mikrotik.com/wiki/How\_to\_make\_transparent\_web\_proxy](http://wiki.mikrotik.com/wiki/How_to_make_transparent_web_proxy)
> 
> ```plaintext
> 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?

---

<div class="post-metadata">

**Author:** ![fewi](https://forum.mikrotik.com/letter_avatar/fewi/32/6_449c533f586939b6e5f246632a46421f.png) [@fewi](https://forum.mikrotik.com/u/fewi)\
**Post date:** [January 10, 2011, 11:39pm UTC](https://forum.mikrotik.com/t/proxy-client-with-mikrotik/43612/7 "2011-01-10T23:39:40Z")

</div>

You can only proxy HTTP. That said, dst-port can take multiple ports: “dst-port=80,8080,8888”.

---

<div class="post-metadata">

**Author:** ![psycoclan1](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/psycoclan1/32/506_2.png) [@psycoclan1](https://forum.mikrotik.com/u/psycoclan1)\
**Post date:** [January 10, 2011, 11:41pm UTC](https://forum.mikrotik.com/t/proxy-client-with-mikrotik/43612/8 "2011-01-10T23:41:42Z")

</div>

> [@fewi](#):
>
> 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?

---

<div class="post-metadata">

**Author:** ![fewi](https://forum.mikrotik.com/letter_avatar/fewi/32/6_449c533f586939b6e5f246632a46421f.png) [@fewi](https://forum.mikrotik.com/u/fewi)\
**Post date:** [January 10, 2011, 11:46pm UTC](https://forum.mikrotik.com/t/proxy-client-with-mikrotik/43612/9 "2011-01-10T23:46:00Z")

</div>

You cannot.

---

<div class="post-metadata">

**Author:** ![psycoclan1](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/psycoclan1/32/506_2.png) [@psycoclan1](https://forum.mikrotik.com/u/psycoclan1)\
**Post date:** [January 11, 2011, 12:17am UTC](https://forum.mikrotik.com/t/proxy-client-with-mikrotik/43612/10 "2011-01-11T00:17:57Z")

</div>

> [@fewi](#):
>
> 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|
