Unleash Your Server Potential with Expert Insights
Hosting provided by: CloudwaysSponsored by: shopp.bio
Sponsored by: shopp.bio
Category: VPS Setup
apt install ufw
/etc/ufw/before rules
withnano /etc/ufw/before.rules
*filter
:*nat\n:POSTROUTING ACCEPT [0:0]\n-A POSTROUTING -s 192.168.1.0/24 -o eth0 -j MASQUERADE\nCOMMIT
/etc/sysctl conf
with net ipv4 ip_forward=1
apply withsysctl -p
ufw allow 22
ufw enable
iptables -t nat -L