Two Starlinks, management interface access

A couple of options
(Sorry I know little about starlinks)

  1. dst-nat and mangle routing

This is quite dependent on the webserver on the starlink unfortunately.
Sub option 1, (most likely to work)
forward connections to 192.168.100.1:1443 to ether2: 192.168.100.1:443 (and/or :8080 → ether2: 80)
If the web server doesn’t send absolute links, etc. it might work.
You will need to check carefully the URL to make sure it hasn’t redirected back to the normal one.

Sub option 2, (less likely to work, but has some handy features)
Forward all connections to 192.168.100.12 (or other unused IP) to ether2: 192.168.100.1
Might work, but the webserver might check host headers, and not be happy.
Allows you to ping the router on ether2, telnet, etc.

Procedure for both options.

  1. Create an appropriate mangle rule in prerouting based on destination address (and ports for option 1) set a routing mark eg. ViaEther2
  2. Create a dst-nat rule to forward destination address (and ports for option 1) to 192.168.100.1
  3. Create a Route for 0.0.0.0 to use gateway ether2 for table ViaEther2


    Note: There are advantages to go via the Rules Table (rather than directly via the route table)
    In this case Set routing mark RuleViaEther2

In routing rules
Put rules for all LAN and wg addresses to go via Main Table.
Then a rule for packets with mark RuleViaEther2 to use the ViaEther2 table.



2. Dynamic Address List for Lan host.

In this option, you ping some IP address (eg. 192.168.100.12), and there is a firewall rule that puts your IP address into an Address List
(for a while)
Devices in this Address list then get all (or just to 192.168.100.1) outbound packets mangle route marked to go via RuleViaEther2
So for a while you can connect to ether2 192.168.100.1 (or have all your traffic go via ether2)

Edit: There have been similar (not same) questions, they might have some other useful options.