# External Proxy

**URL:** <https://forum.mikrotik.com/t/external-proxy/23095>\
**Category:** Beginner Basics\
**Created:** [August 16, 2008, 4:43pm UTC](https://forum.mikrotik.com/t/external-proxy/23095 "2008-08-16T16:43:06Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![badm4n](https://forum.mikrotik.com/letter_avatar/badm4n/32/6_449c533f586939b6e5f246632a46421f.png) [@badm4n](https://forum.mikrotik.com/u/badm4n)\
**Post date:** [August 16, 2008, 4:43pm UTC](https://forum.mikrotik.com/t/external-proxy/23095/1 "2008-08-16T16:43:06Z")

</div>

hello,  
i know this is OLD Question  
but i still cant success to create this

here is my network

Internet----router----[switch/hub]----client  
…|  
…}—[Proxy Server]

how to create/setup my mikrotik to get client connected to my proxy server 1st  
can you give the stepby step procedure ( i appretiate if you give me stepbystep procedure based on winbox )  
  
  
ps : im newbie  
using mikrotik 2.x ( i forget the version )

thx

---

<div class="post-metadata">

**Author:** ![pcglobelb](https://forum.mikrotik.com/letter_avatar/pcglobelb/32/6_449c533f586939b6e5f246632a46421f.png) [@pcglobelb](https://forum.mikrotik.com/u/pcglobelb)\
**Post date:** [August 17, 2008, 3:25pm UTC](https://forum.mikrotik.com/t/external-proxy/23095/2 "2008-08-17T15:25:10Z")

</div>

since you have a proxy server, it is better for you to get ur internet to your proxy server first  
and then, set your gateway and dns to the proxy ip address  
do not forget to allow the mt ip on the proxy  
regards

---

<div class="post-metadata">

**Author:** ![badm4n](https://forum.mikrotik.com/letter_avatar/badm4n/32/6_449c533f586939b6e5f246632a46421f.png) [@badm4n](https://forum.mikrotik.com/u/badm4n)\
**Post date:** [August 17, 2008, 3:32pm UTC](https://forum.mikrotik.com/t/external-proxy/23095/3 "2008-08-17T15:32:39Z")

</div>

so i cant use that concept at my network ?

---

<div class="post-metadata">

**Author:** ![pcglobelb](https://forum.mikrotik.com/letter_avatar/pcglobelb/32/6_449c533f586939b6e5f246632a46421f.png) [@pcglobelb](https://forum.mikrotik.com/u/pcglobelb)\
**Post date:** [August 17, 2008, 3:39pm UTC](https://forum.mikrotik.com/t/external-proxy/23095/4 "2008-08-17T15:39:43Z")

</div>

yes of course you can  
simply create a transparent webproxy (ip-webproxy) and put the parent proxy’s ip and port  
and in firewall - nat do the following:  
chain=dstnat protocol=tcp dst-port=80 action=reirect to ports=proxyport

---

<div class="post-metadata">

**Author:** ![badm4n](https://forum.mikrotik.com/letter_avatar/badm4n/32/6_449c533f586939b6e5f246632a46421f.png) [@badm4n](https://forum.mikrotik.com/u/badm4n)\
**Post date:** [August 17, 2008, 3:42pm UTC](https://forum.mikrotik.com/t/external-proxy/23095/5 "2008-08-17T15:42:03Z")

</div>

> [@pcglobelb](#):
>
> yes of course you can  
> simply create a transparent webproxy (ip-webproxy) and put the parent proxy’s ip and port  
> and in firewall - nat do the following:  
> chain=dstnat protocol=tcp dst-port=80 action=reirect to ports=proxyport

i dont want to use ip-webproxy

but ip - proxy

can you explain stepby step

using winbox ?  
not using terminal command

☹ im newbie

---

<div class="post-metadata">

**Author:** ![rednetwifi](https://forum.mikrotik.com/letter_avatar/rednetwifi/32/6_449c533f586939b6e5f246632a46421f.png) [@rednetwifi](https://forum.mikrotik.com/u/rednetwifi)\
**Post date:** [August 17, 2008, 8:54pm UTC](https://forum.mikrotik.com/t/external-proxy/23095/6 "2008-08-17T20:54:15Z")

</div>

Hello.

I have setup something similer for our network, using RouterOS 3.10 and Squid 2.7

I hope you find this info helpful as i had a lot of support from this forum to get it working.

Here is the RouterOS 3.10 Config for forwarding port 80 traffic to squid.

[http://www.rednetwifi.com/images/Proxy%20Working.backup](http://www.rednetwifi.com/images/Proxy%20Working.backup)

Look in the IP-\>Firewall section for details.

Here is my squid config file. I am using squid 2.7 on ubuntu-8.04.1-desktop-i386

[http://www.rednetwifi.com/images/squid%20conf%20file.txt](http://www.rednetwifi.com/images/squid%20conf%20file.txt)  
i am happy to help if i can but i am a newbie too..

email me at darren(at)[rednetwifi.com](http://rednetwifi.com) or skypeme at rednetwifics

Regards

D

---

<div class="post-metadata">

**Author:** ![badm4n](https://forum.mikrotik.com/letter_avatar/badm4n/32/6_449c533f586939b6e5f246632a46421f.png) [@badm4n](https://forum.mikrotik.com/u/badm4n)\
**Post date:** [August 19, 2008, 1:31am UTC](https://forum.mikrotik.com/t/external-proxy/23095/7 "2008-08-19T01:31:44Z")

</div>

@daren i cant see your first link ( cant be viewed )

Internet----router----[switch/hub]----client  
…|  
…}—[Proxy Server]  
  
  
Router :  
eth0 public ip  
eth1 : goto lan 192.168.1.254  
eth2 : goto proxy server ( direct with crosscable ) 172.16.16.1

Proxy Server  
eth1 : Link to router’s eth2 with ip 172.16.16.2

Client’s ip : 192.168.1.xxx  
gateway : 192.168.1.254  
Subnet : 255.255.255.0  
DNS : 192.168.1.254

my squid setting for transparant  
i have already tested my proxy and it’s works  
so the problem only

how to use  
at mikrotik — IP \>\>\> Proxy ( not IP \>\>\> Webproxy )

help me pls

( newbie need winbox stepby step procedure )

---

<div class="post-metadata">

**Author:** ![rednetwifi](https://forum.mikrotik.com/letter_avatar/rednetwifi/32/6_449c533f586939b6e5f246632a46421f.png) [@rednetwifi](https://forum.mikrotik.com/u/rednetwifi)\
**Post date:** [August 19, 2008, 11:44am UTC](https://forum.mikrotik.com/t/external-proxy/23095/8 "2008-08-19T11:44:26Z")

</div>

the first link is a config file for RouterOS, i will print out the config and post when i get back in to the office.

---

<div class="post-metadata">

**Author:** ![badm4n](https://forum.mikrotik.com/letter_avatar/badm4n/32/6_449c533f586939b6e5f246632a46421f.png) [@badm4n](https://forum.mikrotik.com/u/badm4n)\
**Post date:** [August 20, 2008, 1:22am UTC](https://forum.mikrotik.com/t/external-proxy/23095/9 "2008-08-20T01:22:50Z")

</div>

> [@rednetwifi](#):
>
> the first link is a config file for RouterOS, i will print out the config and post when i get back in to the office.

thank you verymuch  
i will wait

---

<div class="post-metadata">

**Author:** ![pokeman](https://forum.mikrotik.com/letter_avatar/pokeman/32/6_449c533f586939b6e5f246632a46421f.png) [@pokeman](https://forum.mikrotik.com/u/pokeman)\
**Post date:** [August 27, 2008, 7:08am UTC](https://forum.mikrotik.com/t/external-proxy/23095/10 "2008-08-27T07:08:21Z")

</div>

can you post the configuration

---

<div class="post-metadata">

**Author:** ![badm4n](https://forum.mikrotik.com/letter_avatar/badm4n/32/6_449c533f586939b6e5f246632a46421f.png) [@badm4n](https://forum.mikrotik.com/u/badm4n)\
**Post date:** [August 27, 2008, 7:24am UTC](https://forum.mikrotik.com/t/external-proxy/23095/11 "2008-08-27T07:24:14Z")

</div>

> [@pokeman](#):
>
> can you post the configuration

???

i need the config
