Hi there,
need to forward IP with all ports to the customer.
I have next scenario:
From provider IP stack is pointed(routed) to external IP
internet->eth0(inet)-main-eth1(lan)->switch->eth0-pppoe(gateway)eth1->customer(pppoe)-static.1.1.1.1
How do I see it
main:
add ip address 10.10.10.10(that will be routed)
on eth0 and eth1 proxy-arp enable
/ip firewall nat add chain=dstnat dst-address=10.10.10.10 \
action=netmap to-addresses=eth0_IP_pppoe
/ip firewall nat add chain=srcnat src-address=eth0_IP_pppoe \
action=netmap to-addresses=10.10.10.10
pppoe(gateway) eth0 - proxy arp enable
eth0 -> add ip address 10.10.10.10
/ip firewall nat add chain=dstnat dst-address=10.10.10.10 \
action=netmap to-addresses=customer(pppoe)-static.1.1.1.1
/ip firewall nat add chain=srcnat src-address=eth0_IP_pppoe \
action=netmap to-addresses=customer(pppoe)-static.1.1.1.1
How does it like?
Thinking to jump off to zeroshell all gateways(main), like it more.. more flexible @my point of view, pppoe-d could stay on tik