Quantcast
Channel: Tomato Firmware
Viewing all articles
Browse latest Browse all 5181

Script to check IP and change it

$
0
0
Hello,

I have a Asus RT-AC68U router and I've been using AdvancedTomato Firmware for a week now, due to its Multi-WAN feature.

Recently, one of my providers started providing private IPs, from the range 172.16.0.0/12, through DHCP. It's random, sometimes it sends a public IP, sometimes it sends a private IP, because they don't have enough IPv4.

I'd like to build a script that will check ppp0 interface IP and, if it is within range 172.16.0.0/12, it would drop the connection and connect...

Script to check IP and change it

Viewing all articles
Browse latest Browse all 5181

Trending Articles