[SOLVED] Save script(more than one line via SSH

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> General Questions
Goto page Previous  1, 2
Author Message
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Wed Jun 08, 2022 16:05    Post subject: Reply with quote
Are we *really* reviving the ed25519 discussion? Rolling EyesCoolWinkTwisted Evil

https://github.com/mirror/dd-wrt/blob/master/src/router/dropbear/default_options.h#L171

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Sponsor
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1935

PostPosted: Mon Jun 13, 2022 19:57    Post subject: Reply with quote
I don't see why the OP didn't use the ssh tunnel to access the webUI remotely.

https://forum.dd-wrt.com/wiki/index.php/Web_interface

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=29181

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6437
Location: UK, London, just across the river..

PostPosted: Mon Jun 13, 2022 21:52    Post subject: Reply with quote
dale_gribble39 wrote:
I don't see why the OP didn't use the ssh tunnel to access the webUI remotely.

https://forum.dd-wrt.com/wiki/index.php/Web_interface

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=29181


it is complicated to explain why..but its not working as it should...with those options above...i tried those before...and im not going to remove restriction rules i have, just to be able to access it...also im accessing it via VPN too..i usually don't need the GUI, only few things are useful there, but much faster and worry free, is to "dial" whatever i need from CLI and commit it to the nvram ...
my GUI necessity is only for resent GUI testing ... Rolling Eyes but never mind... Rolling Eyes

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1935

PostPosted: Tue Jun 14, 2022 2:42    Post subject: Reply with quote
Using a direct ssh tunnel with no VPN involved to the remote site is secure enough for remote webUI access if absolutely required. Using site-to-site VPN and setting up an ssh tunnel to remote into the webUI is only as complicated as you make it.
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6437
Location: UK, London, just across the river..

PostPosted: Tue Jun 14, 2022 6:35    Post subject: Reply with quote
dale_gribble39 wrote:
Using a direct ssh tunnel with no VPN involved to the remote site is secure enough for remote webUI access if absolutely required. Using site-to-site VPN and setting up an ssh tunnel to remote into the webUI is only as complicated as you make it.


lovely, thanks for letting me know SSh is secure enough... Laughing
thanks for letting me know about the VPN too Laughing
thanks for letting me know that accessing SSh with tunnel inside, where router has a GUI restrictions as well it is accessed from VPN from the other side, wont work... Laughing

just, for a laugh "may be it wont let me access the GUI, as its broken" Razz Laughing Laughing

p.s. case closed lock the thread please... Twisted Evil

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1935

PostPosted: Tue Jun 14, 2022 15:15    Post subject: Reply with quote
Sounds to me like a complicated paranoia setup or you just don't know how to make it work. No skin off my nose.
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6437
Location: UK, London, just across the river..

PostPosted: Tue Jun 14, 2022 15:45    Post subject: Reply with quote
dale_gribble39 wrote:
Sounds to me like a complicated paranoia setup or you just don't know how to make it work. No skin off my nose.


yep its paranoia set up...R7800 is in student accommodation, used by 100 red's of students...daily, some of them clever bastards with malicious ideas...apart of that, ISP internet is crackling with buggers that hit the firewall rules on daily basis, as all the clients are in the same pool...witch is made of 2 joined networks...yep, i clearly don't know how to make it work...please tell me how would i do it, when i have a mac&IP based restrictions regarding GUI, and SSh goes via IP (layer 3) via VPN, so shall i made a firewall rule to permit the exit IP from the VPN provider, to be able to see the GUI trough WAN SSh Embarassed Embarassed Laughing nope i rather not do that...call it paranoia Laughing Laughing

p.s. mods plz lock the tread...!! Cool

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum