Developing lightweight computation at the DSG edge

Commit 61d7c111 authored by p4u's avatar p4u
Browse files

Added NAT rule to disable NAT between 10.0.0.0/8 networks

parent 16787548
#!/bin/sh
cat << QMP >> /etc/firewall.user
/usr/sbin/iptables -t nat -A POSTROUTING -j MASQUERADE
iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -d 10.0.0.0/8 -j RETURN
iptables -t nat -A POSTROUTING -j MASQUERADE
QMP
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment