Last active
February 18, 2025 23:25
-
-
Save gartnera/31cafc3d0dcdfb5bf0f5a2192e3fbe2c to your computer and use it in GitHub Desktop.
Revisions
-
gartnera revised this gist
Feb 18, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ After=network.target Type=simple User=nobody Group=nobody ExecStart=/usr/bin/socat TCP-LISTEN:9000,reuseaddr,fork TCP:9001 Restart=always [Install] -
gartnera revised this gist
Feb 18, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ After=network.target Type=simple User=nobody Group=nobody ExecStart=/usr/bin/socat TCP-LISTEN:9000,reuseaddr,fork TCP:9001,reuseaddr Restart=always [Install] -
gartnera created this gist
Jan 14, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ [Unit] Description=Forward TCP from 9000 to 9001 (bidirectional) After=network.target [Service] Type=simple User=nobody Group=nobody ExecStart=/usr/bin/socat TCP-LISTEN:9000,reuseaddr,fork TCP-LISTEN:9001,reuseaddr Restart=always [Install] WantedBy=multi-user.target