Hi,
First of all, thanks to Merlin's firmware I used for a long time. Since my AC87U is defective, I bought a AX92 set. Unfortunately, Merlin does not support the AX92.
For streaming services I have to route an IP directly via WAN.
For this I found this script:
Then
nvram set jffs2_exec=/jffs/myscript.sh
then issue
nvram commit
If I now enter:
nvram show | grep jffs | sort -u
I get this issue
size: 82080 bytes (48992 left)
diag_db_path=/jffs/.sys/diag_db/conn_diag_1632441600.db
diag_db_path_old=/jffs/.sys/diag_db/conn_diag_1632441600.db
jffs2_exec=/jffs/bypassVPN.sh
jffs2_on=1
log_path=/jffs
but it doesn't work.
Please excuse my bad English and bash-script knowledge!
First of all, thanks to Merlin's firmware I used for a long time. Since my AC87U is defective, I bought a AX92 set. Unfortunately, Merlin does not support the AX92.
For streaming services I have to route an IP directly via WAN.
For this I found this script:
Bash:
echo #!/bin/sh
mkdir /tmp/asusrouterlock 2> /dev/null || exit
nvram set no_vpn_lst="192.168.1.3"
nvram commit
sleep 30
NO_VPN_LST=`nvram get no_vpn_lst`
[ -z "$NO_VPN_LST" ] && exit 0
WAN_GWAY="0.0.0.0"
while [ $WAN_GWAY == "0.0.0.0" ];do
sleep 5
WAN_GWAY=`nvram get wan0_gateway`
done
ip route add default via $WAN_GWAY table 10
for ipa in $NO_VPN_LST; do
ip rule add from $ipa table 10
done
ip route flush cache
exit 0
Then
nvram set jffs2_exec=/jffs/myscript.sh
then issue
nvram commit
If I now enter:
nvram show | grep jffs | sort -u
I get this issue
size: 82080 bytes (48992 left)
diag_db_path=/jffs/.sys/diag_db/conn_diag_1632441600.db
diag_db_path_old=/jffs/.sys/diag_db/conn_diag_1632441600.db
jffs2_exec=/jffs/bypassVPN.sh
jffs2_on=1
log_path=/jffs
but it doesn't work.
Please excuse my bad English and bash-script knowledge!