We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b27996 commit b8523fcCopy full SHA for b8523fc
dist/images/vpcnatgateway/nat-gateway.sh
@@ -190,7 +190,7 @@ function add_snat() {
190
randomFullyOption=${arr[2]}
191
# check if already exist
192
iptables-save | grep "SHARED_SNAT" | grep "\-s $internalCIDR" | grep "source $eip" && exit 0
193
- exec_cmd "iptables -t nat -A SHARED_SNAT -s $internalCIDR -j SNAT --to-source $eip $randomFullyOption"
+ exec_cmd "iptables -t nat -A SHARED_SNAT -o net1 -s $internalCIDR -j SNAT --to-source $eip $randomFullyOption"
194
done
195
}
196
function del_snat() {
0 commit comments