There Mikrotik 5.0rc3, set up PPPoE server, PPPoE client connects to it for internet access. Everything works. I want to do that all requests from clients to redirect port 80 to 8080 PPPoE server (my MT). If i do not use pppoe, and use NAT - it works fine, if PPPoE - not working
Thank for you help, and sorry for my english
My rules for nat and redirect:
Code: Select all
1 ;;; nat to internet
chain=srcnat action=masquerade protocol=tcp src-address-list=local out-interface=pptp-out1 dst-port=!80
2 ;;; nat to internet for ppp
chain=srcnat action=masquerade src-address-list=ppp out-interface=pptp-out1
3 ;;; redirect for web to web-proxy on router for PPP
chain=dstnat action=redirect to-ports=8080 protocol=tcp dst-address=!172.16.254.254 dst-port=80
PPPoE Clients have addresses in pool 10.10.254.0/24
NAT Clients have addresses in pool 172.16.254.0/24
ppt-out1 - interface to internet.