This program will access an Experia box v10 H369A DSL modem over http and get or change settings from commandline.
I wrote a Experia box v10 H369AExperia box v10 H369A DSL modem commandline client for easier management.
Currently it supports:
- Forward NAT ports to IP address
- Close NAT ports
- Get external IP address from modem
I wrote this code for my own use so it is not tested except for my own current modem.
Tested on:
Hardware Version V1.00
Software Version V1.01.00T04.0
Boot Loader Version V1.0.00
Usage: ./h369a.pl [-dfhpstuvw] [long options...]
Example 1: ./h369a.pl -h 192.168.1.254 -p "secret" -s openvpn
Example 2: ./h369a.pl -h 192.168.1.254 -p "secret" -s openvpn --target 192.168.1.6
Example 3: ./h369a.pl -h 192.168.1.254 -p "secret" -s openvpn --close
Example 4: ./h369a.pl -h 192.168.1.254 -p "secret" --ip
Example 5: ./h369a.pl -h 192.168.1.254 -p "secret" --wifi
Example 6: ./h369a.pl -h 192.168.1.254 -p "secret" --devices
Example 7: ./h369a.pl -h 192.168.1.254 -p "secret" --status
To open specific ports create services with port mappings manually under Settings > Port Forwarding - IPv4 > Application Configuration > Create New App Name
Run the program without arguments to get a list of options
--host STR (or -h) Modem ip
--username STR (or -u) Username
--password STR (or -p) Password
--force (or -f) Force another user to logout
--ip Get WAN IP address
--service STR (or -s) Get or change service
--port INT Port number to get or set instead of service
(TODO: create a service if it does not exist)
--close Delete forwarding
--target STR (or -t) Forward service to ip
--wifi (or -w) List wifi devices
--devices (or -d) List devices
--status Get status for interfaces
--verbose (or -v) print extra stuff
--help print usage message and exit
WARNING: If your login failed to many times your access will be disabled for a while.
- Author: Gerben Versluis
- Distributed under GNU General Public License v3.0