Difference between revisions of "IPv6: Mengaktifkan IPv6 forwarding di kernel"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 7: | Line 7: | ||
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding | echo 1 > /proc/sys/net/ipv6/conf/all/forwarding | ||
+ | |||
+ | |||
+ | |||
+ | interface all bisa di ganti dengan | ||
+ | |||
+ | * default | ||
+ | * enp0s3 | ||
+ | * enp3s0 | ||
+ | * tun0 | ||
+ | * teredo | ||
+ | * he-ipv6 | ||
+ | * dll | ||
+ | |||
+ | atau kalau mau gampang semua interface yang ada di aktifkan misalnya | ||
+ | |||
+ | echo 1 > /proc/sys/net/ipv6/conf/all/forwarding | ||
+ | echo 1 > /proc/sys/net/ipv6/conf/default/forwarding | ||
+ | echo 1 > /proc/sys/net/ipv6/conf/enp0s3/forwarding | ||
+ | echo 1 > /proc/sys/net/ipv6/conf/teredo/forwarding | ||
+ | |||
+ | |||
Revision as of 20:05, 8 February 2019
Agar Ubuntu / Linux dapat bertindak sebagai router dan dapat memforward IPv6 maka kita perlu meng-enable kernel dengan perintah
sudo sysctl -w net.ipv6.conf.all.forwarding=1
atau
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
interface all bisa di ganti dengan
- default
- enp0s3
- enp3s0
- tun0
- teredo
- he-ipv6
- dll
atau kalau mau gampang semua interface yang ada di aktifkan misalnya
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding echo 1 > /proc/sys/net/ipv6/conf/default/forwarding echo 1 > /proc/sys/net/ipv6/conf/enp0s3/forwarding echo 1 > /proc/sys/net/ipv6/conf/teredo/forwarding