Community discussions

MikroTik App
 
badm4n
just joined
Topic Author
Posts: 6
Joined: Sat Aug 16, 2008 7:38 pm

External Proxy

Sat Aug 16, 2008 7:43 pm

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
 
pcglobelb
newbie
Posts: 26
Joined: Sun Aug 17, 2008 6:10 pm

Re: External Proxy

Sun Aug 17, 2008 6:25 pm

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
 
badm4n
just joined
Topic Author
Posts: 6
Joined: Sat Aug 16, 2008 7:38 pm

Re: External Proxy

Sun Aug 17, 2008 6:32 pm

so i cant use that concept at my network ?
 
pcglobelb
newbie
Posts: 26
Joined: Sun Aug 17, 2008 6:10 pm

Re: External Proxy

Sun Aug 17, 2008 6:39 pm

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
 
badm4n
just joined
Topic Author
Posts: 6
Joined: Sat Aug 16, 2008 7:38 pm

Re: External Proxy

Sun Aug 17, 2008 6:42 pm

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
 
rednetwifi
Frequent Visitor
Frequent Visitor
Posts: 58
Joined: Sat May 24, 2008 3:37 am

Re: External Proxy

Sun Aug 17, 2008 11:54 pm

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

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% ... 20file.txt
i am happy to help if i can but i am a newbie too..

email me at darren(at)rednetwifi.com or skypeme at rednetwifics

Regards

D
 
badm4n
just joined
Topic Author
Posts: 6
Joined: Sat Aug 16, 2008 7:38 pm

Re: External Proxy

Tue Aug 19, 2008 4:31 am

@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 )
 
rednetwifi
Frequent Visitor
Frequent Visitor
Posts: 58
Joined: Sat May 24, 2008 3:37 am

Re: External Proxy

Tue Aug 19, 2008 2:44 pm

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.
 
badm4n
just joined
Topic Author
Posts: 6
Joined: Sat Aug 16, 2008 7:38 pm

Re: External Proxy

Wed Aug 20, 2008 4:22 am

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
 
pokeman
Member Candidate
Member Candidate
Posts: 136
Joined: Fri Jun 05, 2009 10:52 pm

Re: External Proxy

Wed Aug 27, 2008 10:08 am

can you post the configuration
 
badm4n
just joined
Topic Author
Posts: 6
Joined: Sat Aug 16, 2008 7:38 pm

Re: External Proxy

Wed Aug 27, 2008 10:24 am

can you post the configuration
???

i need the config

Who is online

Users browsing this forum: No registered users and 23 guests