Skip to content

Commit cf76d4e

Browse files
author
root
committed
Fixed ip forwarding
1 parent c3ccb9a commit cf76d4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

slaac/Tayga.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ ip addr add $1 dev nat64
4141
ip addr add 6d65:7473:3633:3400::1 dev nat64
4242
ip route add 192.168.255.0/24 dev nat64
4343
ip route add 6d65:7473:3633:3400:ffff::/96 dev nat64
44+
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
45+
echo 1 > /proc/sys/net/ipv4/ip_forward
4446

4547
echo "[$0]Allowing NAT44..."
4648
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE # allow NAT44 forwarding

0 commit comments

Comments
 (0)