Skip to content

OpenMPTCProuter configuration

Ycarus (Yannick Chabanois) edited this page Aug 28, 2020 · 16 revisions

Examples for an ADSL connection and a 4G connection.

Boxes

Disable DHCP on the ADSL box and set it to IP 192.168.10.1

Disable DHCP on the 4G router and set it to IP 192.168.11.1

You should also disable IPv6 on both box, else IPv6 traffic can use a box as output.

OpenMPTCProuter

OpenMPTCProuter web interface is accessible at http://192.168.100.1/

Default user root with empty password.

Wizard

Go to menu System -> OpenMPTCProuter -> Wizard.

Use Server IP and the key you get at end of the server install script.

As wan1 gateway set 192.168.10.1 and IP 192.168.10.2 (IPv4 netmask 255.255.255.0)

As wan2 gateway set 192.168.11.1 and IP 192.168.11.2 (IPv4 netmask 255.255.255.0)

Manual configuration

You should really use the wizard if you don't know what you are doing

Set wan1 to fixed IP 192.168.10.2:

Set wan2 to fixed IP 192.168.11.2:

Configure shadowsocks: Edit local instance and enable it, then enable shadowsocks Redir Rules:

You can now set IP 192.168.100.1 as gateway of your clients or enable DHCP server on lan interface.

Set OpenMPTCProuter IP via SSH/Console

uci set network.lan.ipaddr='your-static-ip-address' && uci commit && reboot