https://github.com/RMerl/asuswrt-merlin
- LAN
- LAN IP
- Host Name => <Router Name>
- IP Address => 192.168.1.1
- DHCP Server
- IP Pool Starting Address => 192.168.1.21
- Advertise router's IP in addition to user-specified DNS => No
- Enable Manual Assignment => Yes
- Manually Assigned IP around the DHCP list => <Add client and static IP>
- DNS Director
- Enable DNS Director
- Client List => <Add client and redirection>
- LAN IP
- AiMesh
- System Settings
- Ethernet Backhual Mode => On
- System Settings
- Guest Network
- 2.4 GHz / 2 GHz => <Add guest network>
- Administration
- System
- Enable JFFS custom scripts and configs => Yes
- Time Zone => <Set time zone>
- Auto Logout => 10
- Enable SSH => LAN Only
- System
- WAN
- Internet Connection
- DNS Server => Assign:
- DNS Server1 => 1.1.1.1
- DNS Server3 => 8.8.8.8
- DNS Privacy Protocol => DNS-over-TLS (DOT)
- Preset servers => Add:
- Cloudflare 1 (1.1.1.1 cloudfare-dns.com)
- Google 1 (8.8.8.8 dns.google)
- DNS Server => Assign:
- Internet Connection
- USB Application
- Servers Center
- Network Place (Samba) Share / Cloud Disk)
- Enable Share => On
- Simpler share naming (without the disk name) => Yes
- Network Place (Samba) Share / Cloud Disk)
- Servers Center
- Create swap file
- Install Entware
- Create
/jffs/scripts/ddns-start
using sample Duck DNS Sample script - Set DDNS to custom (WAN -> DDNS -> DDNS Service)
- Enable the DDNS Client => Yes
- Server => Custom
- Host Name => (fill in)
See Disk formatting instructions.
- Less than 2 TB drive, use amtm.
- Greater than 2 TB drive
- Plug USB drive to Linux computer (e.g Raspberry Pi), and
fdisk
to GPT partition like Repartition disk instructions. - Plug USB drive to router, and format like Format and adjust filesystem features instructions.
- Plug USB drive to Linux computer (e.g Raspberry Pi), and
# install via entware
opkg install python3
Create $HOME/.gitssh.sh
file
#!/bin/sh
dbclient -y -i ~/.ssh/id_rsa $*
# install via entware
opkg install git
opkg install git-http
# create ssh keys
dropbearkey -t rsa -f ~/.ssh/id_rsa
dropbearkey -y -f ~/.ssh/id_rsa | grep "^ssh-rsa " > ~/.ssh/id_rsa.pub
# export GIT_SSH
export GIT_SSH=$HOME/.gitssh.sh
# install fish
opkg install fish bc
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
Create /jffs/configs/profile.add
[ -f /opt/bin/fish ] && exec /opt/bin/fish
# install packages
opkg install transmission-web transmission-daemon-openssl
opkg install ca-bundle ca-certificates
# stop and modify configs
/opt/etc/init.d/S88transmission stop
vi /opt/etc/transmission/settings.json
Create /jffs/scripts/firewall-start
#!/bin/sh
iptables -I INPUT -p tcp --destination-port 51413 -j ACCEPT
iptables -I INPUT -p udp --destination-port 51413 -j ACCEPT
/jffs/scripts/firewall-start
/opt/etc/init.d/S88transmission start