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.
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.
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?