Untitled
unknown
plain_text
a year ago
778 B
5
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