[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh från dator A till dator C via dator B



tis 2015-05-26 klockan 18:08 +0200 skrev jan@lillahusetiskogen.se:
> Alltså http från dator A till dator C via dator B och ssh mellan A och
> B.


1) Vanlig ssh-tunnel

  ssh -f -L 8080:DatorC:80 -N DatorB
  curl --header "Host: DatorC" http://localhost:8080/


2) ssh socks proxy

  ssh -f -D 8080 -N DatorB
  curl --proxy socks5h://localhost:8080 http://DatorC/


// Andreas

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: