Advertisement
Guest User

Untitled

a guest
Jul 7th, 2015
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. [http]
  2. listen = localhost:80
  3. connect = server:22
  4. cert = cert.pem
  5.  
  6. [pop3]
  7. listen = localhost:110
  8. connect = server:22
  9. cert = cert.pem
  10.  
  11. [http]
  12. listen = localhost:22
  13. connect = localhost:80
  14.  
  15. [pop3]
  16. listen = localhost:22
  17. connect = localhost:110
  18.  
  19. on_dmz_host# ssh -L 80:localhost:80 -L 110:localhost:110 internal_server
  20.  
  21. verbose: true;
  22. foreground: true;
  23. inetd: false;
  24. numeric: false;
  25. transparent: false;
  26. timeout: 2;
  27. user: "nobody";
  28. pidfile: "/var/run/sslh.pid";
  29.  
  30. listen:
  31. (
  32. { host: "thelonious"; port: "SOME_PORT"; }
  33. );
  34.  
  35. protocols:
  36. (
  37. { name: "http"; host: "localhost"; port: "80"; probe: "builtin"; },
  38. { name: "pop3"; host: "localhost"; port: "110"; probe: [ INSERT_REGEXP_IDENTIFYING_POP3_PACKETS_HERE ]; }
  39. );
  40.  
  41. ...
  42. [sslh]
  43. listen = localhost:22
  44. connect = localhost:PORT_SSLH_IS_LISTENING_ON
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement