I have a dd-wrt router where I setup a ssh port-forwarding rule to redirect each WAN request towards a host in the private LAN that at the moment is unavailable. Is it possible to avoid the firewall redirection with a ssh parameter and connect directly to the router via ssh ? Note: At the moment I haven't direct access to the router.
1
There are 1 best solutions below
Related Questions in SSH
- Is there a way to prevent vscode from forwarding ssh agent to remote dev container?
- problem to push files on a repository git
- How to connect to ssh server with domain name
- GIT SKIP EMPTY DIRECTORIES
- Share files from the server without data or internet usage
- Is it possible for `sudo` to fail temporarily with the correct password? Hacking suspected
- How to add a second ssh public key to authorized_keys file in the server?
- Termux: Different scrolling behaviour after "screen"-command
- Remote debugging via SSH Tunnel
- Why can I not login to a new linux system (amazon linux 2023) from an old one (CentOS 6)
- Can't establish ssh connection to IP address but can to git
- Using Maven to feed minikube on a VM
- Connect ssh to cisco switch with ansible
- PowerShell Command via SSH
- How to automate an SSH login with a batch file?
Related Questions in FIREWALL
- How to ban traffic from a specific zone in Google Cloud Compute instance?
- Ipython Notebook server running, but can't load the page
- iptables put all forwarding rules in prerouting
- Difficulty accessing Docker's API
- How to sync 2 folders on 2 remote computers via Email?
- Explicitly allow traffic through Stingray Application Firewall
- delete all rules from iptables
- Can not setup external access to MySQL server
- ZyXel Config SSH
- Windows Firewall state different between Powershell output and GUI
- PHP displays differently through firewall
- Can the GAE Servlet code be accessest by anyone
- Opening UDP ports in iPad/iPhone firewall
- How do websites get recognized as in the intranet zone for IE compatibility mode
- Pentaho job FTP is not picking up file from remote location
Related Questions in PORTFORWARDING
- How to access Guest's port 3000 from Host?
- Apache: When access vHost on specific port forward to another server
- Docker/Boot2Docker: How to run multiple instances of a same container without port forwarding?
- Trouble with Vagrant - "404 - Not Found"
- Is it possible to deterministically trace how port 80 is forwarded and where the configuration is on a given system?
- ssh local port to local port forwarding; connection refused
- Connect to node js server running on vagrant machine
- Accessing WebIOPi over internet - Port forwarding
- Opening a port on Ubuntu 14.04 for communicating remotely with `DatagramSocket` client and Server
- Most secure way to run guest apps from host
- Java Mysql Tunnel Communications Error
- Port Forwarding Issues Linux
- Incoming connection on port 80 to webserver application
- Link docker container with host
- iptables port forwarding: Unknown arg
Related Questions in DD-WRT
- anyway to edit dd-wrt nvram .bin backup ( settings backup) file?
- Read -s with timeout shows text after timeout
- openvpn tunnel is slower for select IP addresses
- DD-WRT Build Kills Postfix Rewrite
- Bypassing VPN while using a kill switch - DD-WRT
- Asuswrt/Ubuntu 18.04 get gateway of all network interfaces via terminal
- Automate scp file transfer - between Synology DS and a dd-wrt router
- Settingup router vpn while exluding Netflix
- Convert repeated code into a loop
- docker traefik letsencrypt DDNS duckdns behind dd-wrt router
- Route external IP address to internal IP NO DNS
- Failing to run opkg in dd-wrt on ASUS rt-ac66u
- Bash and Awk Strange Behavior (DD-WRT)
- Static dhcp lease per interface
- Avoid port-forwarding
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
One effective solution is to setup a single SSH port forward to one host on the network, and then use SSH forwarding via that host to the others.
This can be added easily to the client ssh config:
You can omit the IdentityFile line if you prefer alternative authentication. If you set up an entry for
[email protected]too you can have completely passwordless and transparent proxying.Further, you can use wildcards, and have ssh automatically ssh via the proxy for any matching host, eg: