Linux masquerade


Enable IPv4 forwarding

echo net.ipv4.ip_forward=1>/etc/sysctl.d/11-ipv4-forward.conf

sysctl --system


Enable masquerading of outgoing traffic through the eth0 interface

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE



Comentarii

Postări populare de pe acest blog

Process Command Line Arguments in Python

SQL injection with UNION

Docker compose DNS resolution