how i can secure my tran proxy from internet users

Its very urgent

How can i secure my transparent proxy running on 8080 from internet users outside my mikrotik router some of are using my transparent proxy as open proxy were there is no wireless data flow but on ether1 it keep showing data transfer tx and rx.

Please give the solution as soon as possible.

Birender

/ip firewall add chain=input in-interface=Public protocol=tcp dst-port=8080 connection-state=new action=reject/drop

and how to stop access to socks server 5 on port 1080 when yesterday i seen the winbox i found in the firewall under connections that users are connected port 1080 so i stop the socks server.

for webproxy i used this

ip firewall add chain=input in-interface=Public protocol=tcp dst-port=8080 action=drop

is above given works or i have to set your perms …

and also please mention how to block access to socks server from outsiders…

Birender

by that rule you are blocking access to selected tcp port. you can even block some ports by one rule:

/ip firewall add chain=input in-interface=Public protocol=tcp dst-port=1080,8080 connection-state=new action=drop