Skip to content

Instantly share code, notes, and snippets.

View amingholami's full-sized avatar

Amin Gholami amingholami

View GitHub Profile
@egeneralov
egeneralov / linux.sh
Last active November 1, 2024 11:18
linux to mikrotik ip tunnel
ip tunnel add ipip local ${linux_ip} remote ${mikrotik_ip} mode ipip
ip link set ipip up
ip addr add 192.168.3.1/30 dev ipip
iptables -t mangle -A POSTROUTING -o ipip -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
iptables -t nat -A POSTROUTING -s 192.168.3.0/30 -o ${linux_output_iface} -j MASQUERADE
@ammar0466
ammar0466 / gist:058c4c4c975cf946e5b292c02ee67022
Last active July 15, 2024 16:40
Install Windows 10 on digital ocean
How to install windows on digital ocean,
use this tutorial :
https://milankragujevic.com/how-to-install-windows-10-on-digitalocean
how to create own image :
Reans Web - Creating Custom Image on Digital Ocean '(2022 Update)'
Click here to watch on youtube : https://youtu.be/wtHBDEl5DIw