em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=2098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC> ether xx:xx:xx:xx:xx:xx hwaddr xx:xx:xx:xx:xx:xx inet6 fe80::64a3:27ff:fe0a:f59%em0 prefixlen 64 scopeid 0x1 inet 71.205.237.101 netmask 0xffffff00 broadcast 71.205.237.255 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect (1000baseT <full-duplex>) status: activeem1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=2098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC> ether xx:xx:xx:xx:xx:xx hwaddr xx:xx:xx:xx:xx:xx inet 10.200.200.1 netmask 0xffffff00 broadcast 10.200.200.255 inet6 fe80::230:18ff:fec4:45c6%em1 prefixlen 64 scopeid 0x2 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect (1000baseT <full-duplex>) status: activeenc0: flags=0<> metric 0 mtu 1536 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> groups: enclo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> groups: lopfsync0: flags=0<> metric 0 mtu 1500 groups: pfsync syncpeer: 0.0.0.0 maxupd: 128 defer: offpflog0: flags=100<PROMISC> metric 0 mtu 33160 groups: pflog
first find your IPv6 interfaces addresses with:/sbin/ifconfig | grep inet6then delete the IPv6 address from interfaces withifconfig lo0 inet6 ::1 delete#!/bin/sh# delete IPV6 from interfacesifconfig lo0 inet6 ::1 deleteifconfig lo0 inet6 fe80::1 delete# here you add your IPv6 interfaces address...ifconfig em0 inet6 fe80::64a3:27ff:fe0a:f59 deleteifconfig em1 inet6 fe80::230:18ff:fec4:45c6 delete
$ntpcfg .= 'restrict default'; in -> $ntpcfg .= 'restrict -4 default';...$ntpcfg .= "interface ignore all\n"; in -> $ntpcfg .= "interface ignore wildcard\n";
# $ntpcfg .= "\nrestrict -6 default";# if (empty($config['ntpd']['kod'])) { /*note: this one works backwards */# $ntpcfg .= ' kod limited';# }# if (empty($config['ntpd']['nomodify'])) { /*note: this one works backwards */# $ntpcfg .= ' nomodify';# }# if (!empty($config['ntpd']['noquery'])) {# $ntpcfg .= ' noquery';# }# if (empty($config['ntpd']['nopeer'])) { /*note: this one works backwards */# $ntpcfg .= ' nopeer';# }# if (!empty($config['ntpd']['noserve'])) {# $ntpcfg .= ' noserve';# }# if (empty($config['ntpd']['notrap'])) { /*note: this one works backwards */# $ntpcfg .= ' notrap';# }
I need just to disable IPv6 in OPNsense. Totally and everywhere.
Also, if we don't start to utilize IPv6 and understand it then, we will always fall back to not wanting to use it.
QuoteI need just to disable IPv6 in OPNsense. Totally and everywhere.I think Antaris is very clear on what he wants.QuoteAlso, if we don't start to utilize IPv6 and understand it then, we will always fall back to not wanting to use it.I honestly don't like this thought process relating to a firewall I need to maintain complete control over.I also noticed ntpd was using IPv6 as well and don't see a means to disable this in the webui. I think it would be a little more appropriate to add a disable all related IPv6 functionality toggle button somewhere in the webui. This setting should then toggle off all other related IPv6 settings in the webui and actually disable IPv6 functionality.