Another post to simply create a mind dump in case I ever need to / want to do this again!
If you're like me and you have a handful of static IP's and want to host multiple servers behind a router such as web servers, minecraft servers, gitlab servers, etc.. you'll need to put in some work. Initially I thought this wouldn't be possible with the EdgeRouter X but I finally got it working. I'm going to throw out some example IP's and an example setup which should allow anyone to adapt this to their own!
Public IP Space: 10.1.1.240/29 Private IP Space: 192.168.1.0/24
Start by logging into your EdgeMAX EdgeRouter X and head to the Dashboard
Typically eth0 would be your Internet connection, this is where we will define our WAN addresses:
- Actions -> Config
- Click Add IP
- Select Manually define IP address
- Add one of your WAN IP's
- Repeat for each WAN IP address you have
- Click Save