Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

forward port with ssh

sudo nano /etc/ssh/sshd_config
Change "GatewayPorts yes"
ssh -R 80:127.0.0.1:80 root@203.0.113.1
 
PREVIOUS NEXT
Tagged: #port #ssh
ADD COMMENT
Topic
Name
7+5 =