Community discussions

MikroTik App
 
adaheem
Member Candidate
Member Candidate
Topic Author
Posts: 135
Joined: Sat Aug 26, 2006 12:33 am

cache and dropping ports for the pppoe

Tue Mar 11, 2008 1:30 am

dear all

this is the first time i make MT as a pppoe server only.
the pppoe is logging in successfully and everything is working fine except the cache is not working and the firewall is not blocking ports i want to drop.

The cache is done as i do it in the ip server but not caching at all.

in the nat i made a rule as a masqurade, when i disable this rule, there will be no internet.
but the rules in the firewall are useless.

for the cache this is my settings:

Nat rule : dstnat - protocol 6 (tcp) - port 80 - in interface = local - action redirect = 8080

Ip proxy : enabled is checked
port : 3128

Ip web proxy:
port: 8080
Hostname: checked
Transparent: checked

any help please to know where is my mistake?

10x in advance.
 
User avatar
ahmedsaffar76
Member
Member
Posts: 306
Joined: Sun Feb 17, 2008 2:56 pm
Location: Iraq

Re: cache and dropping ports for the pppoe

Tue Mar 11, 2008 2:33 am

Nat rule : dstnat - protocol 6 (tcp) - port 80 - in interface = local - action redirect = 8080
Hi ,
the NAT rule should be as follow :
/ ip firewall nat 
add chain=dstnat in-interface=!type here your ether name src-address=!type here your isp IP protocol=tcp \
    dst-port=80 action=redirect to-ports=3128 comment="" disabled=no
Ip proxy : enabled is checked
port : 3128

Ip web proxy:
port: 8080
Hostname: checked
Transparent: checked
totally wrong , you should use only one of them not both .
with best regards .
 
adaheem
Member Candidate
Member Candidate
Topic Author
Posts: 135
Joined: Sat Aug 26, 2006 12:33 am

Re: cache and dropping ports for the pppoe

Tue Mar 11, 2008 3:43 pm

ok 10x i will try the cache configuration.

but what about dropping ports?

as i said i made a masqurade and all ports are open , i want to block some ports
at Firewall it is not blocking any port.

10x again
 
muluhngwisimon
just joined
Posts: 7
Joined: Thu Mar 20, 2008 3:47 pm

Re: cache and dropping ports for the pppoe

Tue Mar 25, 2008 9:16 pm

Hello Dear,

May i know if you configure your web-proxy of windows? i.e on your brouwser clilck on /internet options>connections>LAN SETTINGS. check "use a proxy-server" and the address you put should be the ip of MikroTik and the port should be the "redirected-to port" used in MikroTik.
waiting

simon
Cameroon
 
User avatar
ahmedsaffar76
Member
Member
Posts: 306
Joined: Sun Feb 17, 2008 2:56 pm
Location: Iraq

Re: cache and dropping ports for the pppoe

Tue Mar 25, 2008 10:22 pm

Hello Dear,

May i know if you configure your web-proxy of windows? i.e on your brouwser clilck on /internet options>connections>LAN SETTINGS. check "use a proxy-server" and the address you put should be the ip of MikroTik and the port should be the "redirected-to port" used in MikroTik.
waiting

simon
Cameroon
Hi ;
I think while he is using a transperent proxy he do not have to put proxy and port in the internet explorer .
with best regards .