F5F Stay Refreshed Power Users Networks Yes, you can modify your router's firewall using an SSH connection.

Yes, you can modify your router's firewall using an SSH connection.

Yes, you can modify your router's firewall using an SSH connection.

L
Lherion
Member
182
01-28-2023, 02:30 AM
#1
The title isn’t great and your approach seems a bit rushed, but I’ll try to help. I’ve been trying to install a VPN on my home server, but it looks like I messed up the firewall setup. Since I’m not at home right now, I don’t want to delay testing until I get back. I have an SSH link to a Ubuntu Server running locally. Could you set up your router’s firewall using only SSH? Remote desktop would make this much easier. Let me know!
L
Lherion
01-28-2023, 02:30 AM #1

The title isn’t great and your approach seems a bit rushed, but I’ll try to help. I’ve been trying to install a VPN on my home server, but it looks like I messed up the firewall setup. Since I’m not at home right now, I don’t want to delay testing until I get back. I have an SSH link to a Ubuntu Server running locally. Could you set up your router’s firewall using only SSH? Remote desktop would make this much easier. Let me know!

G
gefahr_m
Member
126
02-17-2023, 05:26 PM
#2
Your router must allow Telnet or SSH connections; otherwise, you require access to the WebUI, which needs a graphical interface.
G
gefahr_m
02-17-2023, 05:26 PM #2

Your router must allow Telnet or SSH connections; otherwise, you require access to the WebUI, which needs a graphical interface.

B
BaconCraft3r
Member
205
03-08-2023, 12:08 PM
#3
Uncertain about SSH support. Not a high-end router. Likely needs local setup at home. EDIT: Intended modem, but it’s a "coda-4582". I’m connected directly via my server and desktop.
B
BaconCraft3r
03-08-2023, 12:08 PM #3

Uncertain about SSH support. Not a high-end router. Likely needs local setup at home. EDIT: Intended modem, but it’s a "coda-4582". I’m connected directly via my server and desktop.

S
sclv
Junior Member
14
03-08-2023, 07:02 PM
#4
Modems and routers are distinct gadgets with separate roles, yet they collaborate to deliver connectivity. ISPs commonly sell combined 2-in-1 modem/router solutions. You were right initially. The router handles firewall settings. I’ll search a bit but I think you’re fine unless Teamviewer or similar is installed (something to keep in mind for the future).
S
sclv
03-08-2023, 07:02 PM #4

Modems and routers are distinct gadgets with separate roles, yet they collaborate to deliver connectivity. ISPs commonly sell combined 2-in-1 modem/router solutions. You were right initially. The router handles firewall settings. I’ll search a bit but I think you’re fine unless Teamviewer or similar is installed (something to keep in mind for the future).

G
Gustavgurra03
Posting Freak
815
03-09-2023, 03:20 AM
#5
Searching online suggests it might work for Telnet, but connecting properly and locating the necessary commands usually requires being at home.
G
Gustavgurra03
03-09-2023, 03:20 AM #5

Searching online suggests it might work for Telnet, but connecting properly and locating the necessary commands usually requires being at home.

G
GreatElephantR
Junior Member
10
03-09-2023, 05:18 AM
#6
Absolutely, but your school's security blocks all RDP attempts. That means I'd need to find another way in.
G
GreatElephantR
03-09-2023, 05:18 AM #6

Absolutely, but your school's security blocks all RDP attempts. That means I'd need to find another way in.

F
Fred10244
Posting Freak
937
03-22-2023, 10:04 PM
#7
Hmm? What happened? I seem to be having some trouble understanding what you're saying.
F
Fred10244
03-22-2023, 10:04 PM #7

Hmm? What happened? I seem to be having some trouble understanding what you're saying.

L
lilycotterill
Senior Member
656
03-23-2023, 02:41 AM
#8
You can set up an SSH tunnel by creating one with an SSH client and linking it through a proxy in your browser. This method gives you internet access as if you were using the device connected to the tunnel. For more details, see this guide: https://www.howtogeek.com/168145/how-to-...tunneling/
L
lilycotterill
03-23-2023, 02:41 AM #8

You can set up an SSH tunnel by creating one with an SSH client and linking it through a proxy in your browser. This method gives you internet access as if you were using the device connected to the tunnel. For more details, see this guide: https://www.howtogeek.com/168145/how-to-...tunneling/

J
JonoGaimz
Member
63
03-23-2023, 03:44 AM
#9
Based on the router interface design, you might also connect the router UI port through SSH. On Windows, Putty works well for this. Gather all the information normally and check under Connection, SSH, Tunnels. Set source port to 80, destination to routerip:routeruiport (probably 80), and enable Local. Then connect using a browser at http://127.0.0.1, which should show your router’s interface. Be careful—many devices redirect you back to their default domain when you change settings. Your adjustments should function correctly, but you’ll need to return to 127.0.0.1 to refresh the page. If SSL is active, use port 443 and be prepared for certificate warnings that your browser will display.
J
JonoGaimz
03-23-2023, 03:44 AM #9

Based on the router interface design, you might also connect the router UI port through SSH. On Windows, Putty works well for this. Gather all the information normally and check under Connection, SSH, Tunnels. Set source port to 80, destination to routerip:routeruiport (probably 80), and enable Local. Then connect using a browser at http://127.0.0.1, which should show your router’s interface. Be careful—many devices redirect you back to their default domain when you change settings. Your adjustments should function correctly, but you’ll need to return to 127.0.0.1 to refresh the page. If SSL is active, use port 443 and be prepared for certificate warnings that your browser will display.