Last active
January 6, 2018 17:43
-
-
Save michabbb/1898acb4c718fd736fc82b0ed13c3b04 to your computer and use it in GitHub Desktop.
Foward IPMI Web and Viewer Ports
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
REMOTE=x.x.x.x | |
# https://www.thomas-krenn.com/de/wiki/Supermicro_Remote_Management_Netzwerk_Ports | |
ssh -p XX root@localhost -L0.0.0.0:443:$REMOTE:443 -L0.0.0.0:5900:$REMOTE:5900 -L0.0.0.0:5901:$REMOTE:5901 -L0.0.0.0:5120:$REMOTE:5120 -L0.0.0.0:5123:$REMOTE:5123 -L0.0.0.0:80:$REMOTE:80 -L0.0.0.0:5988:$REMOTE:5988 -L0.0.0.0:22:$REMOTE:22 -L0.0.0.0:555:$REMOTE:555 -L0.0.0.0623:$REMOTE:623 -L0.0.0.0:5120:$REMOTE:5120 -C | |
# after this, start http://brokestream.com/udp_redirect.html | |
#./udp_redirect 0.0.0.0 623 $REMOTE 623 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment