Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Force WAN renew from Windows box via Telnet/SSH
« previous
next »
Print
Pages: [
1
]
Author
Topic: Force WAN renew from Windows box via Telnet/SSH (Read 375 times)
cakeman
Newbie
Posts: 3
Karma: 0
Force WAN renew from Windows box via Telnet/SSH
«
on:
March 19, 2024, 06:52:18 pm »
I've got a remote site that I'm at fairly often that has no internet. In order to have internet on the network, I USB tether my phone to the WAN port of my OPNSense system, then have to login to the Webui and force a WAN renew.
While working at the site, I frequently have to disconnect my phone and go do tasks.. so every time I come back, its reconnecting, going to the WebUI and renewing.
I can see on the monitor port that OPNSense knows Ive reconnected.. but it won't automatically renew the connection for an IP. I've tried to find a method of doing this, including asking here earlier, and made no headway.
So I have a second idea:
I'd like to create a user on OPNSense that hopefully only has access via telnet/ssh and only to a limited command set.. ideally whatever the CLI command is to renew IP's.
Then on my windows box I'd like to create a script that with a single click on the desktop, will login to that account via telnet/ssh, run the WAN renew command, then exit.
Is this possible? If not, any other suggestions?
thanks.
«
Last Edit: March 19, 2024, 08:37:34 pm by cakeman
»
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: Force WAN renew from Windows box via Telnet/SSH
«
Reply #1 on:
March 20, 2024, 07:52:36 am »
Use a travel router and tether it over your phone WiFi hotspot - that way you can move around with the phone as long as you stay in WiFi range.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Force WAN renew from Windows box via Telnet/SSH