access restricted http server via reverse tunnel
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I establish a reverse tunnel connection to a host in a restricted network using:
/usr/bin/autossh -M 22222 -f -N -o "PubkeyAuthentication=yes" -o "PasswordAuthentication=no" -i /path/to/my/key.key -R 2222:localhost:22 ubuntu@tunnelserver
Now, if I'm right, I think I should be able to forward http
from a server in the restricted network (same subnet as localhost
) using :
/usr/bin/autossh -M 22222 -f -N -o "PubkeyAuthentication=yes" -o "PasswordAuthentication=no" -i /path/to/my/key.key -R 8888:httpserver:80 ubuntu@tunnelserver
now imagine that tunnelserver
has no graphical interface (or X11). How can I from an outside machine retrieve & display the website from httpserver
in the restricted network?
ssh ssh-tunneling tunneling
add a comment |Â
up vote
0
down vote
favorite
I establish a reverse tunnel connection to a host in a restricted network using:
/usr/bin/autossh -M 22222 -f -N -o "PubkeyAuthentication=yes" -o "PasswordAuthentication=no" -i /path/to/my/key.key -R 2222:localhost:22 ubuntu@tunnelserver
Now, if I'm right, I think I should be able to forward http
from a server in the restricted network (same subnet as localhost
) using :
/usr/bin/autossh -M 22222 -f -N -o "PubkeyAuthentication=yes" -o "PasswordAuthentication=no" -i /path/to/my/key.key -R 8888:httpserver:80 ubuntu@tunnelserver
now imagine that tunnelserver
has no graphical interface (or X11). How can I from an outside machine retrieve & display the website from httpserver
in the restricted network?
ssh ssh-tunneling tunneling
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I establish a reverse tunnel connection to a host in a restricted network using:
/usr/bin/autossh -M 22222 -f -N -o "PubkeyAuthentication=yes" -o "PasswordAuthentication=no" -i /path/to/my/key.key -R 2222:localhost:22 ubuntu@tunnelserver
Now, if I'm right, I think I should be able to forward http
from a server in the restricted network (same subnet as localhost
) using :
/usr/bin/autossh -M 22222 -f -N -o "PubkeyAuthentication=yes" -o "PasswordAuthentication=no" -i /path/to/my/key.key -R 8888:httpserver:80 ubuntu@tunnelserver
now imagine that tunnelserver
has no graphical interface (or X11). How can I from an outside machine retrieve & display the website from httpserver
in the restricted network?
ssh ssh-tunneling tunneling
I establish a reverse tunnel connection to a host in a restricted network using:
/usr/bin/autossh -M 22222 -f -N -o "PubkeyAuthentication=yes" -o "PasswordAuthentication=no" -i /path/to/my/key.key -R 2222:localhost:22 ubuntu@tunnelserver
Now, if I'm right, I think I should be able to forward http
from a server in the restricted network (same subnet as localhost
) using :
/usr/bin/autossh -M 22222 -f -N -o "PubkeyAuthentication=yes" -o "PasswordAuthentication=no" -i /path/to/my/key.key -R 8888:httpserver:80 ubuntu@tunnelserver
now imagine that tunnelserver
has no graphical interface (or X11). How can I from an outside machine retrieve & display the website from httpserver
in the restricted network?
ssh ssh-tunneling tunneling
ssh ssh-tunneling tunneling
asked 4 mins ago
cerr
68982239
68982239
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479822%2faccess-restricted-http-server-via-reverse-tunnel%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password