Community discussions

MikroTik App
 
emmanuel
newbie
Topic Author
Posts: 37
Joined: Thu Jan 05, 2006 8:23 pm
Location: nigeria

WEBPROXY WITH /30

Wed Jul 25, 2007 12:42 pm

HELLO GUY
AM HAVE SMALL PROBLEM WHICH I KNOW U GUY CAN HELP.I HAVE LINK FROM ISP WHICH MY IP ADDRESS RANGE IS /24, THEN I BREAKDOWN TO /30 WHICH GET 64 SUBNET AND HE WORK FINE, I SETUP A MACHINE MT ROUTER CONFIGURE IT AS BRIDGE MODE,DNSCACHE,BANDWIDTH HE WORK FINE WHICH PLACE IN THE FRONT FIRST MACHINE,BUT MAIN PROBLEM IS IF I ENABLE WEBPROXY AND TRANSPARENT MODE ANY MACHINE BEHIND IT WOLUD NOT WORK UNLESS DIABLE THE WEBPROXY.FOR EXAMPL THE FIRST MACHINE THAT BREAK THE IP IS 10.50.1.1/30,10.50.1.5/30,10.50.1.9/30 ETC,THEN WE SETUP MACHINE PLACE FRONT MT ROUTER HE ALSO MT ROUTER AN IP IS 10.50.2/30 WHICH WE SETUP AS DNSCACHE,BANDWIDTHMANGER,BRIDGE MODE AND WEBPROXY AND MY LAPTOP IP IS 10.50.1.6/30 IF IDID NOT ENABLE WEBPROXY WORK FINE BUT IF ENABLE WEB PROXY NO BROWSING AND AGAIN IF I DISABLE TARNSPARENT MODE AND SET PROXY SET ON LAPTOP IT WORK FINE BUT IDONT TO SET PROXY IP AND PORT ON CUSTOMER END IWNAT TO SETUP AS TRANSPARENT BROWSING STOP.
THANX U FAST REPLY
 
User avatar
tgrand
Long time Member
Long time Member
Posts: 667
Joined: Mon Aug 21, 2006 2:57 am
Location: Winnipeg, Manitoba, Canada

Re: WEBPROXY WITH /30

Wed Jul 25, 2007 1:09 pm

Let me know if you find a solution.

I found that disabling the WebProxy Caused problems for my gateway and just last night I had to reset-configuration, and start all over.
Any Router on my network which had a hotspot and the proxy address and port configured in the hs profile also had to be conpletely reconfigured.

Needless to say it was a painful experience to try the proxy. Second time I went through this.

Support does have supout.rif BTW
 
emmanuel
newbie
Topic Author
Posts: 37
Joined: Thu Jan 05, 2006 8:23 pm
Location: nigeria

Re: WEBPROXY WITH /30

Wed Jul 25, 2007 1:22 pm

I WIIL BUT NEXT TIME TRY BACKUP UR CONFIGURATION.HE MADE JOB EASY WHEN THERE IS PROBLEM.OK
 
emmanuel
newbie
Topic Author
Posts: 37
Joined: Thu Jan 05, 2006 8:23 pm
Location: nigeria

Re: WEBPROXY WITH /30

Wed Jul 25, 2007 8:43 pm

pl guy if it not possible pl let me know




thanx
 
User avatar
tgrand
Long time Member
Long time Member
Posts: 667
Joined: Mon Aug 21, 2006 2:57 am
Location: Winnipeg, Manitoba, Canada

Re: WEBPROXY WITH /30

Thu Jul 26, 2007 6:32 am

You should create a supout.rif file and send it into support@mikrotik.com

I have done this.
It still has not yeilded any replies, but I can hope that it is being looked into.

I may be over optimistic, and maybe not.... :?
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: WEBPROXY WITH /30

Fri Jul 27, 2007 9:34 am

Post your proxy configuration that does not work for you.
Check the status of proxy by print command.
 
emmanuel
newbie
Topic Author
Posts: 37
Joined: Thu Jan 05, 2006 8:23 pm
Location: nigeria

Re: WEBPROXY WITH /30

Tue Sep 18, 2007 1:24 pm

admin@MikroTik] ip address> pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 196.1.0.4/24 196.1.0.0 196.1.0.255 ether1
1 10.80.1.1/30 10.80.1.0 10.80.1.3 ether2
2 10.80.1.5/30 10.80.1.4 10.80.1.7 ether2
[admin@MikroTik] ip route> pr
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE

INTERFACE
0 A S 0.0.0.0/0 r 196.1.0.1 1 ether1
1 ADC 10.80.1.0/30 10.80.1.1 0 ether2
2 ADC 10.80.1.4/30 10.80.1.5 0 ether2
3[admin@MikroTik] ip firewall nat> pr
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=src-nat to-addresses=196.1.0.4

to-ports=0-65535
src-address=10.80.1.0/30

1 chain=srcnat action=src-nat to-addresses=196.1.0.4

to-ports=0-65535
src-address=10.80.1.4/30
this is first configuration on mt router


ip address> pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 10.80.1.2/30 10.80.1.0 10.80.1.3 bridge1
[admin@MikroTik] ip route> pr
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 A S 0.0.0.0/0 r 10.80.1.1 1 bridge1
1 ADC 10.80.1.0/30 10.80.1.2 0 bridge1 [admin@MikroTik] ip route> /ip web
[admin@MikroTik] ip web-proxy> pr
enabled: yes
src-address: 0.0.0.0
port: 3128
hostname: "proxy"
transparent-proxy: yes
parent-proxy: 0.0.0.0:0
cache-administrator: "webmaster"
max-object-size: 4096KiB
cache-drive: system
max-cache-size: unlimited
max-ram-cache-size: unlimited
status: running
reserved-for-cache: 4665344KiB
reserved-for-ram-cache: 2048KiB
0 chain=dstnat action=redirect to-ports=3128 in-interface=bridge1
dst-port=80 protocol=tcp
nterface bridge> pr
Flags: X - disabled, R - running
0 R name="bridge1" mtu=1500 arp=enabled mac-address=00:B0:D0:71:F8:39
protocol-mode=none priority=0x8000 auto-mac=yes
admin-mac=00:00:00:00:67:65 max-message-age=20s forward-delay=15s
transmit-hold-count=6 ageing-time=5m
this is second configuration for mt router



thirdly is my laptop ip address 10.80.1.6/30 gateway 10.80.1.5


thanx fast reply
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: WEBPROXY WITH /30

Tue Sep 18, 2007 3:52 pm

Probably it is better to enable proxy on the first router ?
 
emmanuel
newbie
Topic Author
Posts: 37
Joined: Thu Jan 05, 2006 8:23 pm
Location: nigeria

Re: WEBPROXY WITH /30

Wed Sep 19, 2007 12:43 pm

thanks for fast reply
let be honstly with this not what wanted to setup but am just try to test this first then setup main platform.i have link from backbone through cable which my ip is wan=192.168.9.10/30 and lan is 196.1.0.1/24, then i setup mt router to face the network and breakdown the /24 to /30 each for example 196.1.0.1/30,196.1.0.5/30 like thatbut major problem is when i enable webproxy transparent he wiil stop allow traffic.pl we can do to make work,what i am think is ask my provider to give public ip for wan or if u have any ideal to make work.thanx for fast reply.god bless u
 
emmanuel
newbie
Topic Author
Posts: 37
Joined: Thu Jan 05, 2006 8:23 pm
Location: nigeria

Re: WEBPROXY WITH /30

Fri Sep 21, 2007 1:47 pm

I CAN NOT BELIVE THAT MT ROUTER CAN'T SOLVE MY PROBLEM, PL IF ANYBODY HAVE SOLUTIONS THIS PROBLEM PL LET HAVE UR IDEAL THANX
 
JR
Member Candidate
Member Candidate
Posts: 120
Joined: Tue Nov 08, 2005 3:27 am

Re: WEBPROXY WITH /30

Sat Sep 22, 2007 12:26 am

[admin@MikroTik] ip firewall nat> pr
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=src-nat to-addresses=196.1.0.4

to-ports=0-65535
src-address=10.80.1.0/30

1 chain=srcnat action=src-nat to-addresses=196.1.0.4

to-ports=0-65535
src-address=10.80.1.4/30
this is first configuration on mt router
You are attempting to src-nat 2 different subnets to 1 ip!
Suggest you disable 0,1
then add:
action=masquerade out-interface=ether1

I assume ether1 is connected to ISP, ether2 (with 2 IP) is connected to a switch and bridge is behind this.

Who is online

Users browsing this forum: Buckeye and 113 guests