Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [http]
- listen = localhost:80
- connect = server:22
- cert = cert.pem
- [pop3]
- listen = localhost:110
- connect = server:22
- cert = cert.pem
- [http]
- listen = localhost:22
- connect = localhost:80
- [pop3]
- listen = localhost:22
- connect = localhost:110
- on_dmz_host# ssh -L 80:localhost:80 -L 110:localhost:110 internal_server
- verbose: true;
- foreground: true;
- inetd: false;
- numeric: false;
- transparent: false;
- timeout: 2;
- user: "nobody";
- pidfile: "/var/run/sslh.pid";
- listen:
- (
- { host: "thelonious"; port: "SOME_PORT"; }
- );
- protocols:
- (
- { name: "http"; host: "localhost"; port: "80"; probe: "builtin"; },
- { name: "pop3"; host: "localhost"; port: "110"; probe: [ INSERT_REGEXP_IDENTIFYING_POP3_PACKETS_HERE ]; }
- );
- ...
- [sslh]
- listen = localhost:22
- connect = localhost:PORT_SSLH_IS_LISTENING_ON
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement