Community discussions

MikroTik App
 
kamilj
just joined
Topic Author
Posts: 1
Joined: Fri Mar 03, 2023 5:25 pm

PPPoE WAN public ip to lan pass through

Fri Mar 03, 2023 6:00 pm

Hello everyone.
I have been browsing the forum for some time looking for an answer to my problem but no solution is working for me.
I have a new ISP from whom I received a GPON with ETH output.
In addition I was supposed to get a pool of 5 public ip addresses.
After connecting everything it turned out that I got 5 addresses but from the /32 network.
I get each IP address by logging in with separate PPPoE data.
Unfortunately the ISP did not agree to the connection being made using the /29 network

My main Fortigate router does not allow multiple PPPoE sessions to be connected on one ETH port.
I came up with the idea to use the old CCR1009 as a transparent bridge to make the connection.

It would look like this:
GPON ==> CCR1009 ETH1 (PPPoE) ==> ETH2 static routing no NAT ==> Fortigate WAN

The problem is that I do not know how to forward the public IP address from the PPPoE session that is on port ETH1 to port ETH2 to which the Fortigate is connected



I managed to get it working on the Fortigate using NAT
ip firewall nat>
add action=dst-nat chain=dstnat dst-address=85.1.1.70/32 to-addresses=10.1.1.70
add action=src-nat chain=srcnat src-address=10.1.1.70/32 to-addresses=85.1.1.70

add action=dst-nat chain=dstnat dst-address=85.1.1.71/32 to-addresses=10.1.1.71
add action=src-nat chain=srcnat src-address=10.1.1.71/32 to-addresses=85.1.1.71

However, I would like to do this without NAT.
Do you have any idea how to do it?

Who is online

Users browsing this forum: EmuAGR, sas2k and 86 guests