Community discussions

MUM Europe 2020
 
psycoclan1
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Mon Aug 11, 2008 4:30 pm
Location: England

Proxy client with Mikrotik

Thu Jan 06, 2011 9:41 pm

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
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6619
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Proxy client with Mikrotik

Fri Jan 07, 2011 3:25 pm

1) Enable proxy;
2) Set DST-NAT rule to HTTP traffic to the proxy;
3) Set parent-proxy at /ip proxy configuration.
 
psycoclan1
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Mon Aug 11, 2008 4:30 pm
Location: England

Re: Proxy client with Mikrotik

Sat Jan 08, 2011 5:58 am

cheers mate! thank you very much!
 
psycoclan1
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Mon Aug 11, 2008 4:30 pm
Location: England

Re: Proxy client with Mikrotik

Tue Jan 11, 2011 1:27 am

2) Set DST-NAT rule to HTTP traffic to the proxy;
I have some trouble with the 2nd step. how can i setup this?
 
fewi
Forum Guru
Forum Guru
Posts: 7734
Joined: Tue Aug 11, 2009 3:19 am

Re: Proxy client with Mikrotik

Tue Jan 11, 2011 1:30 am

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 
Specific answers require specific questions. When in doubt, post the output of "/ip address print detail", "/ip route print detail", "/interface print detail", "/ip firewall export", and an accurate network diagram.
 
psycoclan1
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Mon Aug 11, 2008 4:30 pm
Location: England

Re: Proxy client with Mikrotik

Tue Jan 11, 2011 1:36 am

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?
 
fewi
Forum Guru
Forum Guru
Posts: 7734
Joined: Tue Aug 11, 2009 3:19 am

Re: Proxy client with Mikrotik

Tue Jan 11, 2011 1:39 am

You can only proxy HTTP. That said, dst-port can take multiple ports: "dst-port=80,8080,8888".
Specific answers require specific questions. When in doubt, post the output of "/ip address print detail", "/ip route print detail", "/interface print detail", "/ip firewall export", and an accurate network diagram.
 
psycoclan1
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Mon Aug 11, 2008 4:30 pm
Location: England

Re: Proxy client with Mikrotik

Tue Jan 11, 2011 1:41 am

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?
 
fewi
Forum Guru
Forum Guru
Posts: 7734
Joined: Tue Aug 11, 2009 3:19 am

Re: Proxy client with Mikrotik

Tue Jan 11, 2011 1:46 am

You cannot.
Specific answers require specific questions. When in doubt, post the output of "/ip address print detail", "/ip route print detail", "/interface print detail", "/ip firewall export", and an accurate network diagram.
 
psycoclan1
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Mon Aug 11, 2008 4:30 pm
Location: England

Re: Proxy client with Mikrotik

Tue Jan 11, 2011 2:17 am

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|

Who is online

Users browsing this forum: No registered users and 7 guests