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
Name = deck | |
Mode = switch | |
Interface = vpn0 | |
ConnectTo = vps2 | |
ConnectTo = vps1 | |
LocalDiscovery = 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
## | |
## Mailbox locations and namespaces | |
## | |
# Location for users' mailboxes. The default is empty, which means that Dovecot | |
# tries to find the mailboxes automatically. This won't work if the user | |
# doesn't yet have any mail, so you should explicitly tell Dovecot the full | |
# location. | |
# | |
# If you're using mbox, giving a path to the INBOX file (eg. /var/mail/%u) |
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
# provide by @ihciah | |
# fill username with any valid studentID | |
curl 10.108.255.249/cgi-bin/do_login -d 'username=14307130118' -d 'password={TEXT}' -d 'type=1' | |
#$ ping www.baidu.com | |
#PING www.a.shifen.com (119.75.217.109) 56(84) bytes of data. | |
#64 bytes from 119.75.217.109 (119.75.217.109): icmp_seq=1 ttl=50 time=23.5 ms | |
#... ... |
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=Network Auto Connect Tool | |
DefaultDependencies=no | |
After=sshd.service NetworkManager.service | |
[Service] | |
Type=simple | |
RestartSec=3 | |
Restart=on-failure | |
ExecStart=/home/cjr/Developing/autoconnect/auto-connect.sh |
NewerOlder