Xentrk
Part of the Furniture
x3mRouting Version 2.0.0 now available! June 30, 2020
Version 2.0.0 Update Process - update instructions
Version 2.0.0 Changes - see what's changed!
There are numerous enhancements and changes to x3mRouting. Please refer to the Version 2.0.0 Changes section for a description of all changes. Afterwards, read the updated instructions on the README to become familiar with the new features and usage instructions.
If coming from the first generation of x3mRouting, please read the updated instructions to become familiar with the new features and usage instructions. Refer to the Version 2.0.0 Update Process section for the update instructions.
x3mRouting 2.0.0 Overview
x3mMenu
The command to access the x3mRouting menu has been changed from x3mRouting to x3mMenu.
x3mRouting
The separate scripts for:
Running x3mRouting will automatically perform the set-up. A help option has also been added. Type x3mRouting help at the command line to list usage notes or refer to post 2.
Local Repository
The local repository on the router remains as /jffs/scripts/x3mRouting. The repository contains the x3mRouting user and openvpn-event scripts.
Utility File Repository
Utility files used by the x3mRouting features are located in /jffs/scripts/addons/x3mRouting. These include the nvram files for those who use the LAN Client Routing option.
Advanced_OpenVPNClient_Content.asp
The modified screen now supports VPN Bypass Routing for IPSET lists and is compatible with 384.18 firmware modifications.
autoscan.sh and getdomainnames.sh Scripts
Two scripts have been added to assist in determining the domain names used by a streaming service or website. autoscan.sh will search dnsmasq.log file for all top level domain names passed by the 'autoscan=' parm (e.g. sh autoscan.sh autoscan=netflix,nflx). getdomainnames.sh will return all domain names collected used by a streaming service or website for a particular device. All manual steps in the prior version have been automated.
Please refer to the Version 2.0.0 Changes section for a description of all changes.
x3mRouting 2.0.0 Update Options
You will not be able to update to Version 2.0.0 using amtm or the existing x3mRouting Menu due to the scope of the installation menu changes. However, you should update amtm before updating x3mRouting to get the changes made for the new version.
The recommended option is to utilize the update feature of the x3mMenu to convert old entries to the new usage syntax and perform all necessary clean up from the previous version. Alternatively, you can choose to remove the current version, which requires removing any old references in nat-start, and manually configuring the new version of x3mRouting.
Install the New Menu and Select the [ u ] Update x3mRouting to Version 2.0.0 option (Recommended Method)
1. Install the x3mMenu
2. Select the [ u ] Update x3mRouting to Version 2.0.0 option
3. nat-start, vpnclientX-route-up, and vpnclientX-route-pre-down files will be scanned for any references to the old version of x3mRouting. A conversion file will be created and stored in /jffs/scripts/x3mRouting/x3mRouting_Conversion.sh
4. View the x3mRouting_Conversion.sh file and confirm entries.
5. Run the x3mRouting_Conversion.sh script to create the routing rules and set-up.
Please read the Version 2.0.0 Update Process for the complete update instructions.
Remove the Current Version and Install the New Version
1. Remove the current installation of x3mRouting using the existing menu. To access the menu, type x3mRouting at the command prompt and select the option to remove the repository.
2. Edit /jffs/scripts/nat-start files to remove any references to the old scripts
3. Install the x3mMenu
4. Run the x3mRouting script to create the routing rules for IPSET lists, VPN Server to VPN Client, and VPN Server to IPSET lists.
amtm
If you didn't update amtm before updating to x3mRouting Version 2.0.0, do so now.
Grateful
Thank you to everyone who contributed to the success of the project. Please see the
Acknowledgements section on the README for a complete list of contributors.
Version 2.0.0 Update Process - update instructions
Version 2.0.0 Changes - see what's changed!
There are numerous enhancements and changes to x3mRouting. Please refer to the Version 2.0.0 Changes section for a description of all changes. Afterwards, read the updated instructions on the README to become familiar with the new features and usage instructions.
If coming from the first generation of x3mRouting, please read the updated instructions to become familiar with the new features and usage instructions. Refer to the Version 2.0.0 Update Process section for the update instructions.
x3mRouting 2.0.0 Overview
x3mMenu
The command to access the x3mRouting menu has been changed from x3mRouting to x3mMenu.
x3mRouting
The separate scripts for:
- IPSET list creation and routing using the ASN, Amazon AWS, dnsmasq and manual methods
- VPN Server to VPN Client routing (route_all_vpnserver.sh)
- VPN Server to IPSET routing (route_ipset_vpnserver.sh)
Running x3mRouting will automatically perform the set-up. A help option has also been added. Type x3mRouting help at the command line to list usage notes or refer to post 2.
Local Repository
The local repository on the router remains as /jffs/scripts/x3mRouting. The repository contains the x3mRouting user and openvpn-event scripts.
Utility File Repository
Utility files used by the x3mRouting features are located in /jffs/scripts/addons/x3mRouting. These include the nvram files for those who use the LAN Client Routing option.
Advanced_OpenVPNClient_Content.asp
The modified screen now supports VPN Bypass Routing for IPSET lists and is compatible with 384.18 firmware modifications.
autoscan.sh and getdomainnames.sh Scripts
Two scripts have been added to assist in determining the domain names used by a streaming service or website. autoscan.sh will search dnsmasq.log file for all top level domain names passed by the 'autoscan=' parm (e.g. sh autoscan.sh autoscan=netflix,nflx). getdomainnames.sh will return all domain names collected used by a streaming service or website for a particular device. All manual steps in the prior version have been automated.
Please refer to the Version 2.0.0 Changes section for a description of all changes.
x3mRouting 2.0.0 Update Options
You will not be able to update to Version 2.0.0 using amtm or the existing x3mRouting Menu due to the scope of the installation menu changes. However, you should update amtm before updating x3mRouting to get the changes made for the new version.
The recommended option is to utilize the update feature of the x3mMenu to convert old entries to the new usage syntax and perform all necessary clean up from the previous version. Alternatively, you can choose to remove the current version, which requires removing any old references in nat-start, and manually configuring the new version of x3mRouting.
Install the New Menu and Select the [ u ] Update x3mRouting to Version 2.0.0 option (Recommended Method)
1. Install the x3mMenu
Code:
sh -c "$(curl -sL https://raw.githubusercontent.com/Xentrk/x3mRouting/master/Install_x3mRouting.sh)"
2. Select the [ u ] Update x3mRouting to Version 2.0.0 option
3. nat-start, vpnclientX-route-up, and vpnclientX-route-pre-down files will be scanned for any references to the old version of x3mRouting. A conversion file will be created and stored in /jffs/scripts/x3mRouting/x3mRouting_Conversion.sh
4. View the x3mRouting_Conversion.sh file and confirm entries.
5. Run the x3mRouting_Conversion.sh script to create the routing rules and set-up.
Please read the Version 2.0.0 Update Process for the complete update instructions.
Remove the Current Version and Install the New Version
1. Remove the current installation of x3mRouting using the existing menu. To access the menu, type x3mRouting at the command prompt and select the option to remove the repository.
2. Edit /jffs/scripts/nat-start files to remove any references to the old scripts
3. Install the x3mMenu
Code:
sh -c "$(curl -sL https://raw.githubusercontent.com/Xentrk/x3mRouting/master/Install_x3mRouting.sh)"
4. Run the x3mRouting script to create the routing rules for IPSET lists, VPN Server to VPN Client, and VPN Server to IPSET lists.
amtm
If you didn't update amtm before updating to x3mRouting Version 2.0.0, do so now.
Grateful
Thank you to everyone who contributed to the success of the project. Please see the
Acknowledgements section on the README for a complete list of contributors.
Last edited: