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 characters
| using System; | |
| using System.Globalization; | |
| using System.Net; | |
| using System.Net.Sockets; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace Socks | |
| { | |
| public static class Socks5 |
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 characters
| [Unit] | |
| Description=IPTables rules | |
| After=network.target | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/usr/local/sbin/iptables.sh start | |
| ExecStop=/usr/local/sbin/iptables.sh stop | |
| ExecReload=/usr/local/sbin/iptables.sh restart | |
| RemainAfterExit=yes |
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 characters
| #!/bin/bash | |
| echo ' (pre) script declarations' | |
| IP6TABLES='/sbin/ip6tables' | |
| IP4TABLES='/sbin/iptables' | |
| SSH_PORT='22' | |
| echo '-------------------------------------' | |
| echo 'site-specific variables (change me)' | |
| echo '-------------------------------------' | |
| echo ' SSH_PORT='$SSH_PORT |