Advice needed for a configuration - Router Without NAT

Currently my carrier provides CGNAT where it is necessary to setup MAP-E on my software router. For that reason OpenWRT was the only distro I got MAP-E to work so I have been sticking with it. However I would like to try other distro such as pfsense, which currently does not support MAP-E afaik. The second reason is the MAP-E setting is kind of manual, upgrading the OpenWRT firmware does not carry the configuration over and requires that to be setup again which is sometimes cumbersome, maybe there is a solution for this part.

I wonder if I could set it up such that the first router facing the modem, OpenWRT with MAP-E, does the MAP-E only and provides the next router, e.g. pfsense a WAN IP like what a normal router will see. In this case, OpenWRT works much like a modem for the CGNAT.

Could you point me to what I should follow?

You can build custom image with packages you need and configuration files.
Or did you mean to carry over the map-e configuration after upgrade?

That doesn't sound very likely to me.

1 Like

If your router got wifi, share wifi from your cell phone, and install the packages you require via it.

But @trendy got the better suggestion.

1 Like

May I know which country you are in now? I want to know some MAP-E settings in different countries.

What specifically is not being carried over? I'm not at all familiar with MAP-E (don't have any idea what that means), but if it has some config files that are not listed by sysupgrade -l, you can add them to /etc/sysupgrade.conf and they will be carried over.

2 Likes

Thanks for the replies, wasn't notified somehow so I just realized.

Or did you mean to carry over the map-e configuration after upgrade?
Yes, essentially I have the OpenWRT installed on a VM, and when I tried to follow the Wiki's suggestion on upgrading firmware, the backup and restore approach did not bring back the MAP-E configurations. So I just rolled back to my VM image and haven't tried again yet.

I am not familiar with building a custom package, but I should look into it.

May I know which country you are in now? I want to know some MAP-E settings in different countries.

I am in Easten Japan, and to be specific I am using docomo and JPNE's IPv4-over-IPv6 service.

What specifically is not being carried over? I'm not at all familiar with MAP-E (don't have any idea what that means), but if it has some config files that are not listed by sysupgrade -l , you can add them to /etc/sysupgrade.conf and they will be carried over.

What happened was, with the backup and restore, the MAP-E configuration which is required to communicate with my modem for IPv4-over-IPv6 wasn't carried over, and I need to redo that part to get internet back.

This is a great suggestion to see what should be added to the sysupgrade.conf, I will take a look.

I am also living in Japan, so the OpenWrt MAP-E setting should be mainly related to DHCPv6 and explicit MAP-E device, do you mean those 2 settings didn't get carry over? So which part specifically did you need to do manual restore?

The guide I have here for MAP-E in Japan also needed to modify map.sh script, is this the one you are talking about?