Skip to content

Commit

Permalink
remove ipv4 forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
Hadi Azami committed Oct 13, 2019
1 parent fa8bf99 commit 1424e9c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions torbox
Expand Up @@ -275,9 +275,6 @@ start() {
${Sudo} ip netns exec "$pid" iptables -t nat -A POSTROUTING -s $subnet.0$netmask ! -d $subnet.0$netmask -j MASQUERADE
ok "Enabling NAT"

${Sudo} ip netns exec "$pid" echo 1 | ${Sudo} tee /proc/sys/net/ipv4/ip_forward > /dev/null
ok "Enabling IP Forwarding"

startingContainers

info "Bootstraping ..."
Expand Down

0 comments on commit 1424e9c

Please sign in to comment.