Your cart is currently empty!
Author: Website Admin
Windows: L2TP VPN Problem
Configure L2TP/IPsec server behind NAT-T device – Windows Server | Microsoft Learn #1. Open regedit and go to: #2. Right click > New > DWORD (32-bit) Value #3. Type AssumeUDPEncapsulationContextOnSendRule as the key #4. Set value to 2 #5. Reboot your computer References:
NodeJS: Timezone
Config When dateStrings: true, DATE, DATETIME and TIMESTAMPS are converted to ‘YYYY-MM-DD HH:mm:ss’ format. Thus, timezone setting does not affect the result. Using process.env.TZ Output: Using date.toLocaleString() Output: Using bash/shell References:
Ubuntu: VPN Client Command Line
#1. Install these packages. #2. Edit /etc/ipsec.conf. For Cloudraya IPSec (minimal) setting: #3. Edit /etc/ipsec.secrets. #4. Start the ipsec. #5. Connect the ipsec. #6. Disconnect the ipsec. #7. Edit /etc/xl2tpd/xl2tpd.conf. #8. Edit /etc/ppp/options.l2tpd.client. #9. Start xl2tpd. #10. Connect L2TP. #11. Disconnect L2TP. #12. Check IP address. You should have a new interface called PPP0. #13.…
MySQL: Replication
#1. On the master server, edit /etc/mysql/my.cnf. #2. Restart/reload the master server. #3. On the master server add user and grant replication privileges. #4. Flush privileges and lock the tables so that the log index does not move. #5. On the master server, get posision of the log index. #6. On the slave server, edit…