Untitled

Anonymous
plain_text
02/21/2024 11:20 AM
1.0 KB
34
Indexable
# sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 1
#
#
# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
SNAT       all  --  192.168.0.0/24       anywhere             to:65.20.87.158
SNAT       all  --  192.168.0.0/24       anywhere             to:65.20.87.158
MASQUERADE  all  --  anywhere             anywhere
MASQUERADE  all  --  anywhere             anywhere
MASQUERADE  all  --  anywhere             anywhere
MASQUERADE  all  --  192.168.2.0/24       anywhere
#
Editor is loading...
Leave a Comment