1.5 KiB
1.5 KiB
Router Access (TP-Link)
The server neuro is behind a NAT router at 192.168.0.1.
Network Info
| Device | IP |
|---|---|
| Router (TP-Link) | 192.168.0.1 |
| neuro (internal) | 192.168.0.10 |
| neuro (external) | 95.31.254.84 |
Access Router Admin Panel
The router blocks requests with non-local Host headers, so SSH port forwarding
with -L returns 403. Use a SOCKS proxy instead:
-
Start SSH SOCKS proxy:
ssh -D 1080 neuro -
Launch browser with SOCKS proxy:
nix run nixpkgs#chromium -- --proxy-server="socks5://localhost:1080" # or nix run nixpkgs#firefox -- # then configure manually (see below) -
Navigate to http://192.168.0.1
Firefox Manual Configuration
- Settings -> Network Settings -> Settings...
- Select "Manual proxy configuration"
- SOCKS Host:
localhost, Port:1080, SOCKS v5 - Click OK
Port Forwarding
Ports that need to be forwarded from router to 192.168.0.10:
| External Port | Internal Port | Protocol | Service |
|---|---|---|---|
| 22 | 22 | TCP | SSH |
| 80 | 80 | TCP | HTTP |
| 443 | 443 | TCP | HTTPS |
| 4443 | 4443 | TCP | Jitsi |
| 5222 | 5222 | TCP | XMPP (c2s) |
| 5269 | 5269 | TCP | XMPP (s2s) |
| 10000 | 10000 | UDP | Jitsi Videobridge |
| 25565 | 25565 | TCP | Minecraft |
Troubleshooting
Check if ports are open externally:
nix run nixpkgs#nmap -- -Pn -p 80,443 95.31.254.84
Expected: open (not filtered)