>I’ve been reading through your post a couple of times and also looked at the openmptcrouter >>(OMR) website and can’t quite work out how this is set up. The OMR documentation on the >website is very lacking and the only YouTube videos I can find are all in French.
it's reasonably complicated. will do my best to answer.
>From my interpretation on the OMR website, the devices (PC/Phone etc.) connect to the OMR >first (I assume installed on something like a Raspberry Pi), which in turn have the VDSL/4g >modems connected to it and the modems then connect to the VPS via ports.
Yes. so the basic setup is something like this -
laptop -> wireless access point -> OMR -> (3 WANs - in this case three routers). OMR uses "shadowsocks" and a tunnel which it creates itself to your VPS - there is a VPS setup script you need to run on the VPS.
once you have a device running OMR, you just configure the wan ports on it to each of your internet connections. it will ask you for the IP of the VPS server, you download a script on the VPS server to install the OMR configuration - it needs to be debian10.
>However from your description, it sounds like you have Modems connected to a standard wifi >router first and have the OMR software installed on the VPS machine and not on physical >hardware (Raspberry Pi?) at your home and presumably connected the modems & OMR via ports?
what I have is quite complicated because I had no spare hardware to run OMR on. OMR can run anywhere, it just needs to be the gateway that all your machines are using. OMR needs to run locally (e.g. on a PI) as well as the OMR script on the VPS. OMR needs to be your pc's default gateway.
i.e. everything => OMR => Internet
>Which way is correct, assuming my interpretation of both is correct or am I completely getting >it wrong?
neither is technically wrong, you can do a 'router-on-a-stick' (which is what im currently doing - my wan devices are all plugged into the same switch with DHCP disabled on them - DHCP is only enabled on OMR) but separating everything out is certainly easier to understand.
the only bit that actually matters if all cabled together via a switch is 1) you only have one dhcp server on your network (which is omr) and 2) your devices using the internet all use omr as their gateway.
e.g. if using 2 random wan devices -
AP -> Switch - (192.168.0.0/24 - bridged to LAN)
OMR -> Switch (192.168.0.1/24 - LAN, 192.168.1.2/24 - WAN1 - Gateway 192.168.1.1, 192.168.2.2/24 - WAN2 - Gateway 192.186.1.1)
WAN1 -> Switch (192.168.1.1/24 - DHCP Disabled or vlan)
WAN2 -> Switch (192.168.2.1/24 - DHCP Disabled or vlan)
OMR will let you create multiple interfaces on the same physical interface to do 'router-on-a-stick'.
Edited by deleted (Tue 09-Jun-20 23:57:58)