xin/bins/icb-irc-tunnel.nix

16 lines
355 B
Nix
Raw Permalink Normal View History

2023-07-11 09:12:50 -06:00
{
pkgs,
icbirc,
}: ''
2022-09-23 09:29:51 -06:00
#!${pkgs.yash}/bin/yash
${pkgs.procps}/bin/pkill icbirc
${icbirc}/bin/icbirc -l 127.0.0.1 -s localhost -p 6644
${icbirc}/bin/icbirc -l 127.0.0.1 -s localhost -p 6645
2022-10-03 09:32:33 -06:00
${pkgs.openssh}/bin/ssh -NTL 7326:localhost:7326 \
-oServerAliveInterval=60 \
-oExitOnForwardFailure=yes \
anonicb@slackers.openbsd.org
''