Gargoyle IPv6 Testing

Discuss the technical details of Gargoyle and ongoing development

Moderator: Moderators

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Gargoyle IPv6 Testing

Post by Lantis »

Unless you can bring to the table some understanding of how the OpenWrt network configuration works, you'll have to wait until someone else who knows comes along.

If you replicate the OpenWrt config across to Gargoyle, it should work. Gargoyle is openwrt. If it doesn't work, there must be some other config issue going on or we have a missing package.
If you don't know how to figure that out, someone else has to.

So unless any other dual stack pppoe users come forward who can troubleshoot it on their own, there's nothing to be done.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

User avatar
oliver44
Posts: 71
Joined: Tue Mar 20, 2018 1:29 am
Location: Romanaia

Re: Gargoyle IPv6 Testing

Post by oliver44 »

On the second partition I run OpenWrt you can find here all the information for configuring PPPoE access for IPv4/IPv6 dual-stack !
I am at your disposal for tests, but please tell me what to do concretely...

Code: Select all

SNAPSHOT, r15637-7d12f29ae1
 -----------------------------------------------------
root@swrt:~# opkg list-installed
6in4 - 26
adblock - 4.0.8-3
banip - 0.3.13-1
base-files - 1400-r15637-7d12f29ae1
block-mount - 2021-01-04-c53b1882-1
busybox - 1.31.1-8
ca-bundle - 20200601-1
cgi-io - 2020-10-27-ab4c3471-19
chat - 2.4.8.git-2020-10-03-3
collectd - 5.12.0-6
collectd-mod-conntrack - 5.12.0-6
collectd-mod-contextswitch - 5.12.0-6
collectd-mod-cpu - 5.12.0-6
collectd-mod-cpufreq - 5.12.0-6
collectd-mod-df - 5.12.0-6
collectd-mod-disk - 5.12.0-6
collectd-mod-dns - 5.12.0-6
collectd-mod-filecount - 5.12.0-6
collectd-mod-interface - 5.12.0-6
collectd-mod-iptables - 5.12.0-6
collectd-mod-irq - 5.12.0-6
collectd-mod-iwinfo - 5.12.0-6
collectd-mod-load - 5.12.0-6
collectd-mod-memory - 5.12.0-6
collectd-mod-netlink - 5.12.0-6
collectd-mod-network - 5.12.0-6
collectd-mod-openvpn - 5.12.0-6
collectd-mod-ping - 5.12.0-6
collectd-mod-processes - 5.12.0-6
collectd-mod-protocols - 5.12.0-6
collectd-mod-rrdtool - 5.12.0-6
collectd-mod-tcpconns - 5.12.0-6
collectd-mod-thermal - 5.12.0-6
collectd-mod-uptime - 5.12.0-6
collectd-mod-vmem - 5.12.0-6
collectd-mod-wireless - 5.12.0-6
comgt - 0.32-33
comgt-directip - 0.32-33
comgt-ncm - 0.32-33
conntrack - 1.4.6-1
coreutils - 8.32-6
coreutils-sort - 8.32-6
ddns-scripts - 2.8.2-7
ddns-scripts-services - 2.8.2-7
dnsmasq-full - 2.84~~test3-1
dropbear - 2020.81-2
ds-lite - 8
e2fsprogs - 1.45.6-2
edgeport-firmware - 20201118-3
etherwake - 1.09-5
fdisk - 2.36.1-1
firewall - 2020-09-05-8c2f9fad-1
fstools - 2021-01-04-c53b1882-1
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2020-10-25-9ef88681-1
hd-idle - 1.05-2
hostapd-common - 2020-06-08-5a8b3662-28
ip-tiny - 5.10.0-1
ip6tables - 1.8.6-1
ipset - 7.6-1
iptables - 1.8.6-1
iptables-mod-conntrack-extra - 1.8.6-1
iptables-mod-extra - 1.8.6-1
iptables-mod-filter - 1.8.6-1
iptables-mod-hashlimit - 1.8.6-1
iptables-mod-ipopt - 1.8.6-1
iptables-mod-iprange - 1.8.6-1
iptables-mod-ipv4options - 3.13-4
iptables-mod-led - 1.8.6-1
iptables-mod-length2 - 3.13-4
iw - 5.8-2
iwinfo - 2021-01-06-23d2722b-1
jshn - 2020-12-12-35787769-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 5.4.92-1-448e9104134ff2bb4fc5d71121ddead4
kmod-asn1-decoder - 5.4.92-1
kmod-cfg80211 - 5.4.92+5.8.18-1-5
kmod-crypto-aead - 5.4.92-1
kmod-crypto-arc4 - 5.4.92-1
kmod-crypto-authenc - 5.4.92-1
kmod-crypto-crc32c - 5.4.92-1
kmod-crypto-ecb - 5.4.92-1
kmod-crypto-hash - 5.4.92-1
kmod-crypto-manager - 5.4.92-1
kmod-crypto-null - 5.4.92-1
kmod-crypto-pcompress - 5.4.92-1
kmod-crypto-sha1 - 5.4.92-1
kmod-cryptodev - 5.4.92+1.11-mvebu-1
kmod-dma-buf - 5.4.92-1
kmod-ebtables - 5.4.92-1
kmod-ebtables-ipv4 - 5.4.92-1
kmod-ebtables-ipv6 - 5.4.92-1
kmod-fs-ext4 - 5.4.92-1
kmod-fuse - 5.4.92-1
kmod-gpio-button-hotplug - 5.4.92-3
kmod-gre - 5.4.92-1
kmod-ifb - 5.4.92-1
kmod-input-core - 5.4.92-1
kmod-ip6-tunnel - 5.4.92-1
kmod-ip6tables - 5.4.92-1
kmod-ipt-compat-xtables - 5.4.92+3.13-4
kmod-ipt-conntrack - 5.4.92-1
kmod-ipt-conntrack-extra - 5.4.92-1
kmod-ipt-core - 5.4.92-1
kmod-ipt-extra - 5.4.92-1
kmod-ipt-filter - 5.4.92-1
kmod-ipt-hashlimit - 5.4.92-1
kmod-ipt-ipopt - 5.4.92-1
kmod-ipt-iprange - 5.4.92-1
kmod-ipt-ipset - 5.4.92-1
kmod-ipt-ipv4options - 5.4.92+3.13-4
kmod-ipt-led - 5.4.92-1
kmod-ipt-length2 - 5.4.92+3.13-4
kmod-ipt-nat - 5.4.92-1
kmod-ipt-nat6 - 5.4.92-1
kmod-ipt-offload - 5.4.92-1
kmod-ipt-raw - 5.4.92-1
kmod-iptunnel - 5.4.92-1
kmod-iptunnel4 - 5.4.92-1
kmod-iptunnel6 - 5.4.92-1
kmod-lib-crc-ccitt - 5.4.92-1
kmod-lib-crc16 - 5.4.92-1
kmod-lib-crc32c - 5.4.92-1
kmod-lib-textsearch - 5.4.92-1
kmod-libphy - 5.4.92-1
kmod-mac80211 - 5.4.92+5.8.18-1-5
kmod-mii - 5.4.92-1
kmod-mmc - 5.4.92-1
kmod-mppe - 5.4.92-1
kmod-mwl8k - 5.4.92+5.8.18-1-5
kmod-mwlwifi - 5.4.92+2020-02-06-a2fd00bb-2
kmod-netlink-diag - 5.4.92-1
kmod-nf-conntrack - 5.4.92-1
kmod-nf-conntrack-netlink - 5.4.92-1
kmod-nf-conntrack6 - 5.4.92-1
kmod-nf-flow - 5.4.92-1
kmod-nf-ipt - 5.4.92-1
kmod-nf-ipt6 - 5.4.92-1
kmod-nf-nat - 5.4.92-1
kmod-nf-nat6 - 5.4.92-1
kmod-nf-nathelper - 5.4.92-1
kmod-nf-nathelper-extra - 5.4.92-1
kmod-nf-reject - 5.4.92-1
kmod-nf-reject6 - 5.4.92-1
kmod-nfnetlink - 5.4.92-1
kmod-nls-base - 5.4.92-1
kmod-nls-cp437 - 5.4.92-1
kmod-nls-cp850 - 5.4.92-1
kmod-nls-cp852 - 5.4.92-1
kmod-nls-iso8859-1 - 5.4.92-1
kmod-nls-iso8859-2 - 5.4.92-1
kmod-nls-utf8 - 5.4.92-1
kmod-ppp - 5.4.92-1
kmod-pppoe - 5.4.92-1
kmod-pppox - 5.4.92-1
kmod-pptp - 5.4.92-1
kmod-rfkill - 5.4.92-1
kmod-sched-cake - 5.4.92-1
kmod-sched-core - 5.4.92-1
kmod-scsi-core - 5.4.92-1
kmod-sit - 5.4.92-1
kmod-slhc - 5.4.92-1
kmod-tun - 5.4.92-1
kmod-udptunnel4 - 5.4.92-1
kmod-udptunnel6 - 5.4.92-1
kmod-usb-acm - 5.4.92-1
kmod-usb-core - 5.4.92-1
kmod-usb-ehci - 5.4.92-1
kmod-usb-net - 5.4.92-1
kmod-usb-net-asix - 5.4.92-1
kmod-usb-net-asix-ax88179 - 5.4.92-1
kmod-usb-net-cdc-eem - 5.4.92-1
kmod-usb-net-cdc-ether - 5.4.92-1
kmod-usb-net-cdc-mbim - 5.4.92-1
kmod-usb-net-cdc-ncm - 5.4.92-1
kmod-usb-net-cdc-subset - 5.4.92-1
kmod-usb-net-dm9601-ether - 5.4.92-1
kmod-usb-net-hso - 5.4.92-1
kmod-usb-net-huawei-cdc-ncm - 5.4.92-1
kmod-usb-net-ipheth - 5.4.92-1
kmod-usb-net-kalmia - 5.4.92-1
kmod-usb-net-kaweth - 5.4.92-1
kmod-usb-net-mcs7830 - 5.4.92-1
kmod-usb-net-pegasus - 5.4.92-1
kmod-usb-net-pl - 5.4.92-1
kmod-usb-net-qmi-wwan - 5.4.92-1
kmod-usb-net-rndis - 5.4.92-1
kmod-usb-net-rtl8150 - 5.4.92-1
kmod-usb-net-rtl8152 - 5.4.92-1
kmod-usb-net-sierrawireless - 5.4.92-1
kmod-usb-net-smsc95xx - 5.4.92-1
kmod-usb-net-sr9700 - 5.4.92-1
kmod-usb-ohci - 5.4.92-1
kmod-usb-ohci-pci - 5.4.92-1
kmod-usb-printer - 5.4.92-1
kmod-usb-serial - 5.4.92-1
kmod-usb-serial-option - 5.4.92-1
kmod-usb-serial-sierrawireless - 5.4.92-1
kmod-usb-serial-wwan - 5.4.92-1
kmod-usb-storage - 5.4.92-1
kmod-usb-storage-extras - 5.4.92-1
kmod-usb-storage-uas - 5.4.92-1
kmod-usb-wdm - 5.4.92-1
kmod-usb2 - 5.4.92-1
kmod-usb2-pci - 5.4.92-1
kmod-usb3 - 5.4.92-1
kmod-video-core - 5.4.92-1
kmod-video-uvc - 5.4.92-1
kmod-video-videobuf2 - 5.4.92-1
kmod-wireguard - 5.4.92+1.0.20201112-1
libblkid1 - 2.36.1-1
libblobmsg-json - 2020-12-12-35787769-1
libc - 1.1.24-3
libcap-ng - 0.8.1-1
libcomerr0 - 1.45.6-2
libelf1 - 0.180-1
libext2fs2 - 1.45.6-2
libfdisk1 - 2.36.1-1
libgcc1 - 8.4.0-3
libgmp10 - 6.1.2-2
libip4tc2 - 1.8.6-1
libip6tc2 - 1.8.6-1
libipset13 - 7.6-1
libiwinfo-lua - 2021-01-06-23d2722b-1
libiwinfo20210106 - 2021-01-06-23d2722b-1
libjson-c5 - 0.15-1
libjson-script - 2020-12-12-35787769-1
libltdl7 - 2.4.6-2
liblua5.1.5 - 5.1.5-8
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
liblzo2 - 2.10-4
libmbedtls12 - 2.16.9-1
libmnl0 - 1.0.4-2
libncurses6 - 6.2-1
libnetfilter-conntrack3 - 1.0.8-1
libnetfilter-cthelper0 - 1.0.0-2
libnetfilter-cttimeout1 - 1.0.0-2
libnetfilter-queue1 - 1.0.5-1
libnettle8 - 3.6-1
libnfnetlink0 - 1.0.1-3
libnl-tiny1 - 2020-08-05-c291088f-1
libopenssl1.1 - 1.1.1i-1
liboping - 1.10.0-2
libpcap1 - 1.9.1-3
libpthread - 1.1.24-3
librrd1 - 1.0.50-3
librt - 1.1.24-3
libsmartcols1 - 2.36.1-1
libss2 - 1.45.6-2
libubox20201212 - 2020-12-12-35787769-1
libubus-lua - 2020-12-04-d1d9ddf9-1
libubus20191227 - 2020-12-04-d1d9ddf9-1
libuci20130104 - 2020-10-06-52bbc99f-3
libuclient20201210 - 2020-12-10-2c843b2b-1
libusb-1.0-0 - 1.0.24-1
libustream-wolfssl20201210 - 2020-12-10-68d09243-1
libuuid1 - 2.36.1-1
libwolfssl24 - 4.6.0-stable-1
libxtables12 - 1.8.6-1
logd - 2020-10-25-9ef88681-1
lua - 5.1.5-8
luci - git-20.160.76921-16f443b
luci-app-adblock - git-20.363.65948-e6a5ba7
luci-app-advanced-reboot - git-21.007.69538-1ce1f86
luci-app-banip - git-20.160.76921-16f443b
luci-app-commands - git-20.160.76921-16f443b
luci-app-ddns - git-21.018.50423-4d5facb
luci-app-firewall - git-21.013.41609-ab390cf
luci-app-hd-idle - git-20.132.50826-8366262
luci-app-nlbwmon - git-20.332.74200-03c77da
luci-app-openvpn - git-20.247.45220-51621a3
luci-app-opkg - git-20.332.74200-03c77da
luci-app-p910nd - git-20.160.76921-16f443b
luci-app-statistics - git-21.019.76293-dfa82b4
luci-app-uhttpd - git-20.202.77895-d662f3c
luci-app-upnp - git-20.332.74200-03c77da
luci-app-wifischedule - git-20.160.76921-16f443b
luci-app-wireguard - git-20.244.42172-21563a2
luci-app-wol - git-20.351.38430-fb302e4
luci-base - git-21.020.56896-af422b1
luci-compat - git-21.020.56896-af422b1
luci-i18n-adblock-en - git-21.027.56825-28496a1
luci-i18n-advanced-reboot-en - git-21.027.56825-28496a1
luci-i18n-banip-en - git-21.025.56469-7e07052
luci-i18n-base-en - git-21.027.56825-28496a1
luci-i18n-commands-en - git-21.020.58907-c434b50
luci-i18n-ddns-en - git-21.025.56469-7e07052
luci-i18n-firewall-en - git-21.025.56469-7e07052
luci-i18n-hd-idle-en - git-21.016.32520-34e2d6e
luci-i18n-nlbwmon-en - git-21.027.56825-28496a1
luci-i18n-openvpn-en - git-21.023.26565-fb6e62e
luci-i18n-opkg-en - git-21.027.56825-28496a1
luci-i18n-p910nd-en - git-21.016.32520-34e2d6e
luci-i18n-statistics-en - git-21.023.26565-fb6e62e
luci-i18n-uhttpd-en - git-21.023.26565-fb6e62e
luci-i18n-upnp-en - git-21.023.26565-fb6e62e
luci-i18n-wifischedule-en - git-21.020.58907-c434b50
luci-i18n-wireguard-en - git-21.020.58907-c434b50
luci-i18n-wol-en - git-21.027.56825-28496a1
luci-lib-base - git-20.232.39649-1f6dc29
luci-lib-ip - git-20.250.76529-62505bd
luci-lib-ipkg - git-20.160.76921-16f443b
luci-lib-iptparser - git-20.160.76921-16f443b
luci-lib-jsonc - git-20.160.76921-16f443b
luci-lib-nixio - git-20.234.06894-c4a4e43
luci-mod-admin-full - git-20.160.76921-16f443b
luci-mod-network - git-21.020.56896-af422b1
luci-mod-status - git-21.020.56896-af422b1
luci-mod-system - git-21.012.62032-e2ac2e9
luci-proto-3g - git-20.160.76921-16f443b
luci-proto-ipv6 - git-20.247.70930-f94958e
luci-proto-ncm - git-20.160.76921-16f443b
luci-proto-ppp - git-20.160.76921-16f443b
luci-proto-qmi - git-20.311.39075-fa702c0
luci-proto-wireguard - git-20.234.32633-60ce87a
luci-ssl - git-20.244.36115-e10f954
luci-theme-bootstrap - git-20.363.32570-6ffd159
luci-theme-material - git-20.304.74050-01cefed
luci-theme-openwrt-2020 - git-20.229.69577-258e74c
miniupnpd - 2.2.1-1
monit-nossl - 5.26.0-2
mtd - 26
mwifiex-pcie-firmware - 20201118-3
mwifiex-sdio-firmware - 20201118-3
mwl8k-firmware - 20201118-3
mwlwifi-firmware-88w8864 - 2020-02-06-a2fd00bb-2
mwlwifi-firmware-88w8897 - 2020-02-06-a2fd00bb-2
mwlwifi-firmware-88w8964 - 2020-02-06-a2fd00bb-2
mwlwifi-firmware-88w8997 - 2020-02-06-a2fd00bb-2
nano - 5.5-1
netifd - 2021-01-09-c00c8335-1
nlbwmon - 2020-04-11.1-34a18876-3
odhcp6c - 2021-01-09-53f07e90-16
openssh-sftp-server - 8.4p1-4
openvpn-mbedtls - 2.5.0-1
openwrt-keyring - 2019-07-25-8080ef34-1
opkg - 2020-12-24-9bbc7eae-1
p910nd - 0.97-9
ppp - 2.4.8.git-2020-10-03-3
ppp-mod-pppoe - 2.4.8.git-2020-10-03-3
ppp-mod-pptp - 2.4.8.git-2020-10-03-3
procd - 2020-12-12-7f12c89d-2
px5g-wolfssl - 3
resolveip - 2
rpcd - 2021-01-06-ea7f4717-1
rpcd-mod-file - 2021-01-06-ea7f4717-1
rpcd-mod-iwinfo - 2021-01-06-ea7f4717-1
rpcd-mod-luci - 20201107
rpcd-mod-rrdns - 20170710
rrdtool1 - 1.0.50-3
sqm-scripts - 1.5.0-2
sqm-scripts-extra - 2016-06-08-1
ss - 5.10.0-1
swconfig - 12
tc - 5.10.0-1
tcpdump - 4.9.3-3
terminfo - 6.2-1
ubi-utils - 2.1.2-1
uboot-envtools - 2020.04-84
ubox - 2020-10-25-9ef88681-1
ubus - 2020-12-04-d1d9ddf9-1
ubusd - 2020-12-04-d1d9ddf9-1
uci - 2020-10-06-52bbc99f-3
uclient-fetch - 2020-12-10-2c843b2b-1
uhttpd - 2020-11-23-f53a6399-1
uhttpd-mod-ubus - 2020-11-23-f53a6399-1
umbim - 2019-09-11-184b707d-1
uqmi - 2020-11-22-0a19b5b7-2
urandom-seed - 2
urngd - 2020-01-21-c7f7b6b6-1
usb-modeswitch - 2017-12-19-f40f84c2-2
usign - 2020-05-23-f1f65026-1
wifischedule - 1-3
wireguard-tools - 1.0.20200827-2
wireless-regdb - 2020.11.20-1
wpad-basic - 2020-06-08-5a8b3662-28
wwan - 2019-04-29-5
zlib - 1.2.11-3
root@swrt:~#Using username "root".
Authenticating with public key "rsa-key-20201121"

root@swrt:~#  ifstatus wan
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 238,
        "l3_device": "pppoe-wan",
        "proto": "pppoe",
        "device": "wan",
        "updated": [
                "addresses"
        ],
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "7965",
                        "mask": 32,
                        "ptpaddress": "10.0.0.1"
                }
        ],
        "ipv6-address": [
                {
                        "address": "fe5",
                        "mask": 128
                }
        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "10.0.0.1",
                        "source": "0.0.0.0/0"
                }
        ],
        "dns-server": [
                "193.231.252.1",
                "213.154.124.1"
        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {

        }
}
root@swrt:~# ifstatus wan_6
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": true,
        "uptime": 312,
        "l3_device": "pppoe-wan",
        "proto": "dhcpv6",
        "device": "pppoe-wan",
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [

        ],
        "ipv6-address": [
                {
                        "address": "2a0f0b6",
                        "mask": 128
                }
        ],
        "ipv6-prefix": [
                {
                        "address": "2a000::",
                        "mask": 56,
                        "class": "wan_6",
                        "assigned": {
                                "lan": {
                                        "address": "2a000::",
                                        "mask": 60
                                }
                        }
                }
        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "fe80::1",
                        "metric": 512,
                        "valid": 700,
                        "source": "2a::/56"
                },
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "fe80::1",
                        "metric": 512,
                        "valid": 700,
                        "source": "2a02:25/128"
                }
        ],
        "dns-server": [
                "2a02:2f0c:8000:3::1",
                "2a02:2f0c:8000:8::1"
        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {
                "passthru": "001700202a022f0c8000000300000000000000012a022f0c800000080000000000000001",
                "zone": "wan"
        }
}

root@swrt:~# cat /etc/config/firewall

config defaults
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option synflood_protect '1'
        option drop_invalid '1'
        option flow_offloading '1'

config zone
        option name 'lan'
        list network 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'

config zone
        option name 'wan'
        list network 'wan'
        list network 'wan6'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option masq '1'
        option mtu_fix '1'

config forwarding
        option src 'lan'
        option dest 'wan'

config rule
        option name 'Allow-DHCP-Renew'
        option src 'wan'
        option proto 'udp'
        option dest_port '68'
        option target 'ACCEPT'
        option family 'ipv4'

config rule
        option name 'Allow-Ping'
        option src 'wan'
        option proto 'icmp'
        option icmp_type 'echo-request'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-IGMP'
        option src 'wan'
        option proto 'igmp'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-DHCPv6'
        option src 'wan'
        option proto 'udp'
        option src_ip 'fc00::/6'
        option dest_ip 'fc00::/6'
        option dest_port '546'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-MLD'
        option src 'wan'
        option proto 'icmp'
        option src_ip 'fe80::/10'
        list icmp_type '130/0'
        list icmp_type '131/0'
        list icmp_type '132/0'
        list icmp_type '143/0'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Input'
        option src 'wan'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        list icmp_type 'router-solicitation'
        list icmp_type 'neighbour-solicitation'
        list icmp_type 'router-advertisement'
        list icmp_type 'neighbour-advertisement'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Forward'
        option src 'wan'
        option dest '*'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-IPSec-ESP'
        option src 'wan'
        option dest 'lan'
        option proto 'esp'
        option target 'ACCEPT'

config rule
        option name 'Allow-ISAKMP'
        option src 'wan'
        option dest 'lan'
        option dest_port '500'
        option proto 'udp'
        option target 'ACCEPT'

config rule
        option name 'Support-UDP-Traceroute'
        option src 'wan'
        option dest_port '33434:33689'
        option proto 'udp'
        option family 'ipv4'
        option target 'REJECT'
        option enabled 'false'

config include
        option path '/etc/firewall.user'

config include 'miniupnpd'
        option type 'script'
        option path '/usr/share/miniupnpd/firewall.include'
        option family 'any'
        option reload '1'

config redirect
        option target 'DNAT'
        option name 'qBittorrent'
        option src 'wan'
        option src_dport '46480'
        option dest 'lan'
        option dest_ip '192.168.1.153'
        option dest_port '46480'

root@swrt:~# cat /etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd34::/48'
        option packet_steering '1'

config interface 'lan'
        option type 'bridge'
        option ifname 'lan1 lan2 lan3 lan4'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option ifname 'wan'
        option proto 'pppoe'
        option ipv6 'auto'
        option username 'CJ7'
        option password ''

config device 'wan_wan_dev'
        option name 'wan'
        option macaddr '5cf'

config interface 'wan6'
        option ifname 'wan'
        option proto 'dhcpv6'

root@swrt:~# cat /etc/config/dhcp

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'
        option ednspacket_max '1232'
        option cachesize '10000'
        option confdir '/tmp/dnsmasq.d'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv6 'server'
        option ra 'server'
        option ra_management '1'
        option ra_preference 'medium'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'


root@swrt:~#  ifconfig
br-lan    Link encap:Ethernet  HWaddr 58::CF
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fd6b::1/60 Scope:Global
          inet6 addr: fe80:f/64 Scope:Link
          inet6 addr: 2a021/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:91435 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48382 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:67213158 (64.0 MiB)  TX bytes:4764626 (4.5 MiB)

eth0      Link encap:Ethernet  HWaddr 580:CF
          inet6 addr: fe80::5aef:68ff:fe0d:10cf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1508  Metric:1
          RX packets:141061 errors:0 dropped:0 overruns:0 frame:0
          TX packets:139889 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1024
          RX bytes:78042522 (74.4 MiB)  TX bytes:73763668 (70.3 MiB)
          Interrupt:37

lan1      Link encap:Ethernet  HWaddr 58:CF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:90455 errors:0 dropped:4 overruns:0 frame:0
          TX packets:48278 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:66664078 (63.5 MiB)  TX bytes:4670609 (4.4 MiB)

lan2      Link encap:Ethernet  HWaddr 58:CF
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan3      Link encap:Ethernet  HWaddr 58::CF
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan4      Link encap:Ethernet  HWaddr 58CF
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:274 errors:0 dropped:0 overruns:0 frame:0
          TX packets:274 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:27018 (26.3 KiB)  TX bytes:27018 (26.3 KiB)

pppoe-wan Link encap:Point-to-Point Protocol
          inet addr:79.117.240.165  P-t-P:10.0.0.1  Mask:255.255.255.255
          inet6 addr: 2a0a5/128 Scope:Global
          inet6 addr: fe/128 Scope:Link
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:50412 errors:0 dropped:0 overruns:0 frame:0
          TX packets:91386 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:7862716 (7.4 MiB)  TX bytes:65953441 (62.8 MiB)

wan       Link encap:Ethernet  HWaddr 5A::CF
          inet6 addr: fe8f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:50606 errors:0 dropped:0 overruns:0 frame:0
          TX packets:91602 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8275102 (7.8 MiB)  TX bytes:67972973 (64.8 MiB)

wlan0     Link encap:Ethernet  HWaddr 58D1
          inet6 addr: fe1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1096 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1587 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:572261 (558.8 KiB)  TX bytes:1063695 (1.0 MiB)

wlan1     Link encap:Ethernet  HWaddr 58::D0
          inet6 addr: fe0d0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:957 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:536158 (523.5 KiB  
  
          
root@swrt:~# uci show network
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='f:/48'
network.globals.packet_steering='1'
network.lan=interface
network.lan.type='bridge'
network.lan.ifname='lan1 lan2 lan3 lan4'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.wan=interface
network.wan.ifname='wan'
network.wan.proto='pppoe'
network.wan.ipv6='auto'
network.wan.username='C'
network.wan.password='4'
network.wan_wan_dev=device
network.wan_wan_dev.name='wan'
network.wan_wan_dev.macaddr='5acf'
network.wan6=interface
network.wan6.ifname='wan'
network.wan6.proto='dhcpv6'
root@swrt:~# cat /etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'f::/48'
        option packet_steering '1'

config interface 'lan'
        option type 'bridge'
        option ifname 'lan1 lan2 lan3 lan4'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option ifname 'wan'
        option proto 'pppoe'
        option ipv6 'auto'
        option username 'C'
        option password '7'

config device 'wan_wan_dev'
        option name 'wan'
        option macaddr '5a:cf'

config interface 'wan6'
        option ifname 'wan'
        option proto 'dhcpv6'

root@swrt:~# ifstatus lan
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 1608,
        "l3_device": "br-lan",
        "proto": "static",
        "device": "br-lan",
        "updated": [
                "addresses"
        ],
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "192.168.1.1",
                        "mask": 24
                }
        ],
        "ipv6-address": [

        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [
                {
                        "address": "2::",
                        "mask": 60,
wdr3600 rev1.4 OpenWrt
wrt1900ACS v.2 OpenWrt/DD-WRT
GL-MT6000 OpenWrt/Gargoyle

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Gargoyle IPv6 Testing

Post by Lantis »

I'm trying to be polite, but let me say it outright.
You're not the right person to solve this problem.
Don't feel bad, i'm not either!

I do not know what is wrong with the configuration. I have tried what i know from the documentation. As i do not know what is wrong, i can't hold your hand through fixing it. It's the blind leading the blind!
I need someone who knows what they are doing. Who doesn't need a script and a bouncing ball to figure it out. I need someone who has a mind that says "well if this config works over here, i can try to replicate it by hand over there and see what works and what doesn't, and i'll investigate why on my own". I also need someone who recognises the difference between OpenWrt SNAPSHOT builds, 19.07 builds, and knows what Gargoyle is built from. I need someone who recognises what is important, what isn't, and what might be worth noting.

You're not that person. Please be patient until someone else puts their hand up.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

User avatar
oliver44
Posts: 71
Joined: Tue Mar 20, 2018 1:29 am
Location: Romanaia

Re: Gargoyle IPv6 Testing

Post by oliver44 »

I understand the situation, I have tried it in the past, I gave you the above information, I hope that someone will be able to make ipv6 work for my configuration as well....

Greetings!

Updates :D
Gargoyle network config

Code: Select all

{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 94,
        "l3_device": "pppoe-wan",
        "proto": "pppoe",
        "device": "eth1.2",
        "updated": [
                "addresses"
        ],
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "75",
                        "mask": 32,
                        "ptpaddress": "10.0.0.1"
                }
        ],
        "ipv6-address": [
                {
                        "address": "fa5",
                        "mask": 128
                }
        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "10.0.0.1",
                        "source": "0.0.0.0/0"
                }
        ],
        "dns-server": [
                "193.231.252.1",
                "213.154.124.1"
        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {

        }
}
root@Gargoyle:~# ifstatus wan_6
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": true,
        "uptime": 119,
        "l3_device": "pppoe-wan",
        "proto": "none",
        "device": "pppoe-wan",
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [

        ],
        "ipv6-address": [

        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [

        ],
        "dns-server": [

        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {

        }
}
root@Gargoyle:~# cat /etc/config/firewall

config defaults
        option syn_flood '1'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'REJECT'

config zone
        option name 'lan'
        list network 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'

config zone
        option name 'wan'
        list network 'wan'
        list network 'wan6'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option masq '1'
        option mtu_fix '1'

config forwarding
        option src 'lan'
        option dest 'wan'

config rule
        option name 'Allow-DHCP-Renew'
        option src 'wan'
        option proto 'udp'
        option dest_port '68'
        option target 'ACCEPT'
        option family 'ipv4'

config rule
        option name 'Allow-Ping'
        option src 'wan'
        option proto 'icmp'
        option icmp_type 'echo-request'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-IGMP'
        option src 'wan'
        option proto 'igmp'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-DHCPv6'
        option src 'wan'
        option proto 'udp'
        option src_ip 'fc00::/6'
        option dest_ip 'fc00::/6'
        option dest_port '546'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-MLD'
        option src 'wan'
        option proto 'icmp'
        option src_ip 'fe80::/10'
        list icmp_type '130/0'
        list icmp_type '131/0'
        list icmp_type '132/0'
        list icmp_type '143/0'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Input'
        option src 'wan'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        list icmp_type 'router-solicitation'
        list icmp_type 'neighbour-solicitation'
        list icmp_type 'router-advertisement'
        list icmp_type 'neighbour-advertisement'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Forward'
        option src 'wan'
        option dest '*'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-IPSec-ESP'
        option src 'wan'
        option dest 'lan'
        option proto 'esp'
        option target 'ACCEPT'

config rule
        option name 'Allow-ISAKMP'
        option src 'wan'
        option dest 'lan'
        option dest_port '500'
        option proto 'udp'
        option target 'ACCEPT'

config include
        option path '/etc/firewall.user'
        option reload '1'

config include
        option type 'script'
        option path '/usr/lib/gargoyle_firewall_util/gargoyle_additions.firewall'
        option family 'any'
        option reload '1'

config include 'miniupnpd'
        option type 'script'
        option path '/usr/share/miniupnpd/firewall.include'
        option family 'any'
        option reload '1'

config include 'openvpn_include_file'
        option path '/etc/openvpn.firewall'
        option reload '1'

config include 'wireguard_include_file'
        option path '/etc/wireguard.firewall'
        option reload '1'

config include 'tor_include_file'
        option path '/etc/tor.firewall'
        option reload '1'

config remote_accept 'ra_22_22_any'
        option local_port '22'
        option remote_port '22'
        option proto 'tcp'
        option zone 'wan'
        option family 'any'

root@Gargoyle:~# cat /etc/config/dhcp

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option authoritative '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'
        option readethers '0'
        list addnhosts '/plugin_root/adblock/block.hosts'
        list rebind_domain '.bit'
        list rebind_domain '.glue'
        list rebind_domain '.parody'
        list rebind_domain '.dyn'
        list rebind_domain '.bbs'
        list rebind_domain '.free'
        list rebind_domain '.fur'
        list rebind_domain '.geek'
        list rebind_domain '.gopher'
        list rebind_domain '.indy'
        list rebind_domain '.ing'
        list rebind_domain '.null'
        list rebind_domain '.oss'
        list rebind_domain '.micro'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv6 'server'
        option ra 'server'
        option ra_management '1'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

root@Gargoyle:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 5:CF
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fd:1/60 Scope:Global
          inet6 addr: fe8f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3774 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4142 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:720426 (703.5 KiB)  TX bytes:2829748 (2.6 MiB)

eth0      Link encap:Ethernet  HWaddr 5A:E:CF
          inet6 addr: ff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1135 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1086 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532
          RX bytes:196812 (192.1 KiB)  TX bytes:200662 (195.9 KiB)
          Interrupt:37

eth0.1    Link encap:Ethernet  HWaddr 5A::CF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1057 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1054 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:171065 (167.0 KiB)  TX bytes:192274 (187.7 KiB)

eth1      Link encap:Ethernet  HWaddr 58:CF
          inet6 addr: fe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3899 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3321 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532
          RX bytes:2858787 (2.7 MiB)  TX bytes:765272 (747.3 KiB)
          Interrupt:36

eth1.2    Link encap:Ethernet  HWaddr 58:CF
          inet6 addr: fe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3899 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3315 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2788605 (2.6 MiB)  TX bytes:751280 (733.6 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2327 (2.2 KiB)  TX bytes:2327 (2.2 KiB)

pppoe-wan Link encap:Point-to-Point Protocol
          inet addr:79.117.240.165  P-t-P:10.0.0.1  Mask:255.255.255.255
          inet6 addr: fe5/10 Scope:Link
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:3889 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3283 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:2756873 (2.6 MiB)  TX bytes:672740 (656.9 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:17
          inet6 addr: f7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:172 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:37487 (36.6 KiB)

wlan1     Link encap:Ethernet  HWaddr 00:16
          inet6 addr: fe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2716 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3310 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:587379 (573.6 KiB)  TX bytes:2748559 (2.6 MiB)

root@Gargoyle:~# uci show network
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fd::/48'
network.lan=interface
network.lan.type='bridge'
network.lan.ifname='eth0.1'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6ifaceid='::1'
network.lan.dns='192.168.1.1'
network.lan.ip6assign='60'
network.wan=interface
network.wan.ifname='eth1.2'
network.wan.proto='pppoe'
network.wan.username='C'
network.wan.password=''
network.wan.keepalive='3 5'
network.wan.ipv6='auto'
network.wan6=interface
network.wan6.ifname='eth1.2'
network.wan6.proto='dhcpv6'
network.@switch[0]=switch
network.@switch[0].name='switch0'
network.@switch[0].reset='1'
network.@switch[0].enable_vlan='1'
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device='switch0'
network.@switch_vlan[0].vlan='1'
network.@switch_vlan[0].ports='0 1 2 3 5t'
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device='switch0'
network.@switch_vlan[1].vlan='2'
network.@switch_vlan[1].ports='4 6t'
root@Gargoyle:~#

OpenWrt config

Code: Select all

|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 SuperWRT SNAPSHOT, r12288-1173719817
 -----------------------------------------------------
root@swrt:~# opkg list-installed
6in4 - 25-1
adblock - 3.8.15-1
banip - 0.3.11-1
base-files - 213-r12288-1173719817
block-mount - 2020-01-21-deb745f8-1
busybox - 1.31.1-1
ca-bundle - 20190110-2
cgi-io - 18
chat - 2.4.8-2
collectd - 5.10.0-3
collectd-mod-conntrack - 5.10.0-3
collectd-mod-contextswitch - 5.10.0-3
collectd-mod-cpu - 5.10.0-3
collectd-mod-cpufreq - 5.10.0-3
collectd-mod-df - 5.10.0-3
collectd-mod-disk - 5.10.0-3
collectd-mod-dns - 5.10.0-3
collectd-mod-filecount - 5.10.0-3
collectd-mod-interface - 5.10.0-3
collectd-mod-iptables - 5.10.0-3
collectd-mod-irq - 5.10.0-3
collectd-mod-iwinfo - 5.10.0-3
collectd-mod-load - 5.10.0-3
collectd-mod-memory - 5.10.0-3
collectd-mod-netlink - 5.10.0-3
collectd-mod-network - 5.10.0-3
collectd-mod-openvpn - 5.10.0-3
collectd-mod-ping - 5.10.0-3
collectd-mod-processes - 5.10.0-3
collectd-mod-protocols - 5.10.0-3
collectd-mod-rrdtool - 5.10.0-3
collectd-mod-tcpconns - 5.10.0-3
collectd-mod-uptime - 5.10.0-3
collectd-mod-vmem - 5.10.0-3
collectd-mod-wireless - 5.10.0-3
comgt - 0.32-32
comgt-directip - 0.32-32
comgt-ncm - 0.32-32
conntrack - 2018-05-01-88610abe-1
cshark - 2018-08-20-7a7cf7f3-1
ddns-scripts - 2.7.8-15
dnsmasq-full - 2.80-18
dropbear - 2019.78-3
ds-lite - 7-4
e2fsprogs - 1.45.4-1
edgeport-firmware - 20200122-1
etherwake - 1.09-5
fdisk - 2.35.1-1
firewall - 2019-11-22-8174814a-1
fstools - 2020-01-21-deb745f8-1
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2019-12-31-0e34af14-3
hd-idle - 1.05-2
hostapd-common - 2019-08-08-ca8c2bd2-6
ip-tiny - 5.5.0-1
ip6tables - 1.8.3-2
ipset - 7.4-1
iptables - 1.8.3-2
iptables-mod-conntrack-extra - 1.8.3-2
iptables-mod-extra - 1.8.3-2
iptables-mod-filter - 1.8.3-2
iptables-mod-hashlimit - 1.8.3-2
iptables-mod-ipopt - 1.8.3-2
iptables-mod-iprange - 1.8.3-2
iptables-mod-ipv4options - 3.7-2
iptables-mod-led - 1.8.3-2
iptables-mod-length2 - 3.7-2
iw - 5.4-1
iwinfo - 2020-01-05-bf2c1069-1
jshn - 2020-01-20-43a103ff-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.19.101-1-7b637a7d3412c5bb13d39aca2baad284
kmod-asn1-decoder - 4.19.101-1
kmod-cfg80211 - 4.19.101+5.4-rc8-1-1
kmod-crypto-aead - 4.19.101-1
kmod-crypto-arc4 - 4.19.101-1
kmod-crypto-authenc - 4.19.101-1
kmod-crypto-crc32c - 4.19.101-1
kmod-crypto-ecb - 4.19.101-1
kmod-crypto-hash - 4.19.101-1
kmod-crypto-manager - 4.19.101-1
kmod-crypto-null - 4.19.101-1
kmod-crypto-pcompress - 4.19.101-1
kmod-crypto-sha1 - 4.19.101-1
kmod-cryptodev - 4.19.101+1.10-mvebu-1
kmod-dma-buf - 4.19.101-1
kmod-fs-ext4 - 4.19.101-1
kmod-fuse - 4.19.101-1
kmod-gpio-button-hotplug - 4.19.101-3
kmod-gre - 4.19.101-1
kmod-ifb - 4.19.101-1
kmod-input-core - 4.19.101-1
kmod-ip6-tunnel - 4.19.101-1
kmod-ip6tables - 4.19.101-1
kmod-ipt-compat-xtables - 4.19.101+3.7-2
kmod-ipt-conntrack - 4.19.101-1
kmod-ipt-conntrack-extra - 4.19.101-1
kmod-ipt-core - 4.19.101-1
kmod-ipt-extra - 4.19.101-1
kmod-ipt-filter - 4.19.101-1
kmod-ipt-hashlimit - 4.19.101-1
kmod-ipt-ipopt - 4.19.101-1
kmod-ipt-iprange - 4.19.101-1
kmod-ipt-ipset - 4.19.101-1
kmod-ipt-ipv4options - 4.19.101+3.7-2
kmod-ipt-led - 4.19.101-1
kmod-ipt-length2 - 4.19.101+3.7-2
kmod-ipt-nat - 4.19.101-1
kmod-ipt-nat6 - 4.19.101-1
kmod-ipt-offload - 4.19.101-1
kmod-ipt-raw - 4.19.101-1
kmod-iptunnel - 4.19.101-1
kmod-iptunnel4 - 4.19.101-1
kmod-iptunnel6 - 4.19.101-1
kmod-ledtrig-heartbeat - 4.19.101-1
kmod-ledtrig-netdev - 4.19.101-1
kmod-lib-crc-ccitt - 4.19.101-1
kmod-lib-crc16 - 4.19.101-1
kmod-lib-crc32c - 4.19.101-1
kmod-lib-textsearch - 4.19.101-1
kmod-libphy - 4.19.101-1
kmod-mac80211 - 4.19.101+5.4-rc8-1-1
kmod-mii - 4.19.101-1
kmod-mppe - 4.19.101-1
kmod-mwlwifi - 4.19.101+2019-03-02-31d93860-2
kmod-nf-conntrack - 4.19.101-1
kmod-nf-conntrack-netlink - 4.19.101-1
kmod-nf-conntrack6 - 4.19.101-1
kmod-nf-flow - 4.19.101-1
kmod-nf-ipt - 4.19.101-1
kmod-nf-ipt6 - 4.19.101-1
kmod-nf-nat - 4.19.101-1
kmod-nf-nat6 - 4.19.101-1
kmod-nf-nathelper - 4.19.101-1
kmod-nf-nathelper-extra - 4.19.101-1
kmod-nf-reject - 4.19.101-1
kmod-nf-reject6 - 4.19.101-1
kmod-nfnetlink - 4.19.101-1
kmod-nls-base - 4.19.101-1
kmod-nls-cp437 - 4.19.101-1
kmod-nls-cp850 - 4.19.101-1
kmod-nls-cp852 - 4.19.101-1
kmod-nls-iso8859-1 - 4.19.101-1
kmod-nls-iso8859-2 - 4.19.101-1
kmod-nls-utf8 - 4.19.101-1
kmod-ppp - 4.19.101-1
kmod-pppoe - 4.19.101-1
kmod-pppox - 4.19.101-1
kmod-pptp - 4.19.101-1
kmod-rfkill - 4.19.101-1
kmod-sched-cake - 4.19.101+2020-01-10-aeff7a3e-1
kmod-sched-core - 4.19.101-1
kmod-scsi-core - 4.19.101-1
kmod-sit - 4.19.101-1
kmod-slhc - 4.19.101-1
kmod-tun - 4.19.101-1
kmod-usb-acm - 4.19.101-1
kmod-usb-core - 4.19.101-1
kmod-usb-ehci - 4.19.101-1
kmod-usb-net - 4.19.101-1
kmod-usb-net-asix - 4.19.101-1
kmod-usb-net-asix-ax88179 - 4.19.101-1
kmod-usb-net-cdc-eem - 4.19.101-1
kmod-usb-net-cdc-ether - 4.19.101-1
kmod-usb-net-cdc-mbim - 4.19.101-1
kmod-usb-net-cdc-ncm - 4.19.101-1
kmod-usb-net-cdc-subset - 4.19.101-1
kmod-usb-net-dm9601-ether - 4.19.101-1
kmod-usb-net-hso - 4.19.101-1
kmod-usb-net-huawei-cdc-ncm - 4.19.101-1
kmod-usb-net-ipheth - 4.19.101-1
kmod-usb-net-kalmia - 4.19.101-1
kmod-usb-net-kaweth - 4.19.101-1
kmod-usb-net-mcs7830 - 4.19.101-1
kmod-usb-net-pegasus - 4.19.101-1
kmod-usb-net-pl - 4.19.101-1
kmod-usb-net-qmi-wwan - 4.19.101-1
kmod-usb-net-rndis - 4.19.101-1
kmod-usb-net-rtl8150 - 4.19.101-1
kmod-usb-net-rtl8152 - 4.19.101-1
kmod-usb-net-sierrawireless - 4.19.101-1
kmod-usb-net-smsc95xx - 4.19.101-1
kmod-usb-net-sr9700 - 4.19.101-1
kmod-usb-ohci - 4.19.101-1
kmod-usb-printer - 4.19.101-1
kmod-usb-serial - 4.19.101-1
kmod-usb-serial-option - 4.19.101-1
kmod-usb-serial-sierrawireless - 4.19.101-1
kmod-usb-serial-wwan - 4.19.101-1
kmod-usb-storage - 4.19.101-1
kmod-usb-wdm - 4.19.101-1
kmod-usb2 - 4.19.101-1
kmod-usb3 - 4.19.101-1
kmod-video-core - 4.19.101-1
kmod-video-uvc - 4.19.101-1
kmod-video-videobuf2 - 4.19.101-1
libblkid1 - 2.35.1-1
libblobmsg-json - 2020-01-20-43a103ff-1
libc - 1.1.24-2
libcomerr0 - 1.45.4-1
libelf1 - 0.177-2
libext2fs2 - 1.45.4-1
libfdisk1 - 2.35.1-1
libgcc1 - 8.3.0-2
libgmp10 - 6.1.2-2
libip4tc2 - 1.8.3-2
libip6tc2 - 1.8.3-2
libipset13 - 7.4-1
libiptc0 - 1.8.3-2
libiwinfo-lua - 2020-01-05-bf2c1069-1
libiwinfo20200105 - 2020-01-05-bf2c1069-1
libjson-c4 - 0.13.1-1
libjson-script - 2020-01-20-43a103ff-1
libltdl7 - 2.4.6-2
liblua5.1.5 - 5.1.5-7
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
liblzo2 - 2.10-2
libmbedtls12 - 2.16.4-1
libmnl0 - 1.0.4-2
libncurses6 - 6.1-5
libnetfilter-conntrack3 - 2018-05-01-3ccae9f5-2
libnetfilter-cthelper0 - 1.0.0-2
libnetfilter-cttimeout1 - 1.0.0-2
libnetfilter-queue1 - 2017-06-27-601abd1c-2
libnettle7 - 3.5.1-2
libnfnetlink0 - 1.0.1-3
libnl-tiny - 2019-10-29-0219008c-1
libopenssl1.1 - 1.1.1d-2
liboping - 1.10.0-2
libpcap1 - 1.9.1-2
libpthread - 1.1.24-2
librrd1 - 1.0.50-2
librt - 1.1.24-2
libsmartcols1 - 2.35.1-1
libss2 - 1.45.4-1
libubox20191228 - 2020-01-20-43a103ff-1
libubus-lua - 2020-01-05-d35df8ad-1
libubus20191227 - 2020-01-05-d35df8ad-1
libuci20130104 - 2020-01-27-e8d83732-3
libuclient20160123 - 2020-01-05-fef6d3d3-1
libusb-1.0-0 - 1.0.22-2
libustream-mbedtls20150806 - 2020-01-05-30cebb4f-1
libuuid1 - 2.35.1-1
libxtables12 - 1.8.3-2
logd - 2019-12-31-0e34af14-3
lua - 5.1.5-7
luci - git-20.053.81164-72da3c4-1
luci-app-adblock - git-20.053.81164-72da3c4-1
luci-app-advanced-reboot - git-20.053.81164-72da3c4-51
luci-app-banip - git-20.053.81164-72da3c4-1
luci-app-commands - git-20.053.81164-72da3c4-1
luci-app-cshark - git-20.053.81164-72da3c4-1
luci-app-ddns - git-20.053.81164-72da3c4-1
luci-app-firewall - git-20.053.81164-72da3c4-1
luci-app-hd-idle - git-20.053.81164-72da3c4-1
luci-app-nlbwmon - git-20.053.81164-72da3c4-1
luci-app-openvpn - git-20.053.81164-72da3c4-1
luci-app-opkg - git-20.053.81164-72da3c4-1
luci-app-p910nd - git-20.053.81164-72da3c4-1
luci-app-samba - git-20.053.81164-72da3c4-1
luci-app-sqm - 1.4.0-4
luci-app-statistics - git-20.053.81164-72da3c4-1
luci-app-uhttpd - git-20.053.81164-72da3c4-1
luci-app-upnp - git-20.053.81164-72da3c4-1
luci-app-wifischedule - git-20.053.81164-72da3c4-1
luci-app-wol - git-20.053.81164-72da3c4-1
luci-base - git-20.053.81164-72da3c4-1
luci-compat - git-20.053.81164-72da3c4-1
luci-i18n-adblock-en - git-20.053.81164-72da3c4-1
luci-i18n-advanced-reboot-en - git-20.053.81164-72da3c4-51
luci-i18n-banip-en - git-20.053.81164-72da3c4-1
luci-i18n-base-en - git-20.053.81164-72da3c4-1
luci-i18n-commands-en - git-20.053.81164-72da3c4-1
luci-i18n-cshark-en - git-20.053.81164-72da3c4-1
luci-i18n-ddns-en - git-20.053.81164-72da3c4-1
luci-i18n-firewall-en - git-20.053.81164-72da3c4-1
luci-i18n-hd-idle-en - git-20.053.81164-72da3c4-1
luci-i18n-nlbwmon-en - git-20.053.81164-72da3c4-1
luci-i18n-openvpn-en - git-20.053.81164-72da3c4-1
luci-i18n-opkg-en - git-20.053.81164-72da3c4-1
luci-i18n-p910nd-en - git-20.053.81164-72da3c4-1
luci-i18n-samba-en - git-20.053.81164-72da3c4-1
luci-i18n-statistics-en - git-20.053.81164-72da3c4-1
luci-i18n-uhttpd-en - git-20.053.81164-72da3c4-1
luci-i18n-upnp-en - git-20.053.81164-72da3c4-1
luci-i18n-wifischedule-en - git-20.053.81164-72da3c4-1
luci-i18n-wol-en - git-20.053.81164-72da3c4-1
luci-lib-ip - git-20.053.81164-72da3c4-1
luci-lib-ipkg - git-20.053.81164-72da3c4-1
luci-lib-iptparser - git-20.053.81164-72da3c4-1
luci-lib-jsonc - git-20.053.81164-72da3c4-1
luci-lib-nixio - git-20.053.81164-72da3c4-1
luci-mod-admin-full - git-20.053.81164-72da3c4-1
luci-mod-network - git-20.053.81164-72da3c4-1
luci-mod-status - git-20.053.81164-72da3c4-1
luci-mod-system - git-20.053.81164-72da3c4-1
luci-proto-3g - git-20.053.81164-72da3c4-1
luci-proto-ipv6 - git-20.053.81164-72da3c4-1
luci-proto-ncm - git-20.053.81164-72da3c4-1
luci-proto-ppp - git-20.053.81164-72da3c4-1
luci-proto-qmi - git-20.053.81164-72da3c4-1
luci-ssl - git-20.053.81164-72da3c4-1
luci-theme-bootstrap - git-20.053.81164-72da3c4-1
luci-theme-material - git-20.053.81164-72da3c4-1
miniupnpd - 2.1.20191006-2
monit-nossl - 5.26.0-1
mtd - 25
mwifiex-pcie-firmware - 20200122-1
mwifiex-sdio-firmware - 20200122-1
mwlwifi-firmware-88w8864 - 2019-03-02-31d93860-2
mwlwifi-firmware-88w8897 - 2019-03-02-31d93860-2
mwlwifi-firmware-88w8964 - 2019-03-02-31d93860-2
mwlwifi-firmware-88w8997 - 2019-03-02-31d93860-2
nano - 4.8-1
netifd - 2020-01-18-1321c1bd-1
nlbwmon - 2019-06-13-e921ca0a-1
odhcp6c - 2019-01-11-e199804b-16
openssh-sftp-server - 8.1p1-1
openvpn-mbedtls - 2.4.8-1
openwrt-keyring - 2019-07-25-8080ef34-1
opkg - 2020-01-25-c09fe209-1
p910nd - 0.97-8
ppp - 2.4.8-2
ppp-mod-pppoe - 2.4.8-2
ppp-mod-pptp - 2.4.8-2
procd - 2020-02-11-c30b23e3-1
px5g-mbedtls - 9
resolveip - 2
rpcd - 2020-01-05-efe51f41-2
rpcd-mod-file - 2020-01-05-efe51f41-2
rpcd-mod-iwinfo - 2020-01-05-efe51f41-2
rpcd-mod-luci - 20191114
rpcd-mod-rrdns - 20170710
rrdtool1 - 1.0.50-2
samba36-server - 3.6.25-14
sqm-scripts - 1.4.0-4
sqm-scripts-extra - 2016-06-08-1
ss - 5.5.0-1
swconfig - 12
tc - 5.5.0-1
tcpdump - 4.9.3-1
terminfo - 6.1-5
ubi-utils - 2.1.1-1
uboot-envtools - 2019.07-2
ubox - 2019-12-31-0e34af14-3
ubus - 2020-01-05-d35df8ad-1
ubusd - 2020-01-05-d35df8ad-1
uci - 2020-01-27-e8d83732-3
uclient-fetch - 2020-01-05-fef6d3d3-1
uhttpd - 2020-02-12-2ee323c0-1
umbim - 2019-09-11-184b707d-1
uqmi - 2019-06-27-1965c713-7
urandom-seed - 1.0-1
urngd - 2020-01-21-c7f7b6b6-1
usb-modeswitch - 2017-12-19-f40f84c2-2
usign - 2019-09-21-f34a383e-1
wifischedule - 1-2
wireless-regdb - 2019.06.03
wpad-basic - 2019-08-08-ca8c2bd2-6
wwan - 2019-04-29-4
zlib - 1.2.11-3
root@swrt:~# ifstatus wan
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 103,
        "l3_device": "pppoe-wan",
        "proto": "pppoe",
        "device": "eth1.2",
        "updated": [
                "addresses"
        ],
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "75",
                        "mask": 32,
                        "ptpaddress": "10.0.0.1"
                }
        ],
        "ipv6-address": [
                {
                        "address": "fea5",
                        "mask": 128
                }
        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "10.0.0.1",
                        "source": "0.0.0.0/0"
                }
        ],
        "dns-server": [
                "193.231.252.1",
                "213.154.124.1"
        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {

        }
}
root@swrt:~# ifstatus wan_6
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": true,
        "uptime": 110,
        "l3_device": "pppoe-wan",
        "proto": "dhcpv6",
        "device": "pppoe-wan",
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [

        ],
        "ipv6-address": [
                {
                        "address": "2a02:2f09:83ff:ffff::4f75:f0a5",
                        "mask": 128
                }
        ],
        "ipv6-prefix": [
                {
                        "address": "2a02:2f09:8306:b800::",
                        "mask": 56,
                        "class": "wan_6",
                        "assigned": {
                                "lan": {
                                        "address": "2a0::",
                                        "mask": 60
                                }
                        }
                }
        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "fe80::1",
                        "metric": 512,
                        "valid": 896,
                        "source": "2a000::/56"
                },
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "fe80::1",
                        "metric": 512,
                        "valid": 896,
                        "source": "2aa5/128"
                }
        ],
        "dns-server": [
                "2a02:2f0c:8000:3::1",
                "2a02:2f0c:8000:8::1"
        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {
                "passthru": "001700202a022f0c8000000300000000000000012a022f0c800000080000000000000001",
                "zone": "wan"
        }
}
root@swrt:~# cat /etc/config/firewall

config defaults
        option syn_flood '1'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'REJECT'

config zone
        option name 'lan'
        list network 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'

config zone
        option name 'wan'
        list network 'wan'
        list network 'wan6'
        option input 'REJECT'
        option output 'ACCEPT'
        option forward 'REJECT'
        option masq '1'
        option mtu_fix '1'

config forwarding
        option src 'lan'
        option dest 'wan'

config rule
        option name 'Allow-DHCP-Renew'
        option src 'wan'
        option proto 'udp'
        option dest_port '68'
        option target 'ACCEPT'
        option family 'ipv4'

config rule
        option name 'Allow-Ping'
        option src 'wan'
        option proto 'icmp'
        option icmp_type 'echo-request'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-IGMP'
        option src 'wan'
        option proto 'igmp'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-DHCPv6'
        option src 'wan'
        option proto 'udp'
        option src_ip 'fc00::/6'
        option dest_ip 'fc00::/6'
        option dest_port '546'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-MLD'
        option src 'wan'
        option proto 'icmp'
        option src_ip 'fe80::/10'
        list icmp_type '130/0'
        list icmp_type '131/0'
        list icmp_type '132/0'
        list icmp_type '143/0'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Input'
        option src 'wan'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        list icmp_type 'router-solicitation'
        list icmp_type 'neighbour-solicitation'
        list icmp_type 'router-advertisement'
        list icmp_type 'neighbour-advertisement'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Forward'
        option src 'wan'
        option dest '*'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-IPSec-ESP'
        option src 'wan'
        option dest 'lan'
        option proto 'esp'
        option target 'ACCEPT'

config rule
        option name 'Allow-ISAKMP'
        option src 'wan'
        option dest 'lan'
        option dest_port '500'
        option proto 'udp'
        option target 'ACCEPT'

config include
        option path '/etc/firewall.user'

config include 'miniupnpd'
        option type 'script'
        option path '/usr/share/miniupnpd/firewall.include'
        option family 'any'
        option reload '1'

root@swrt:~#  cat /etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd::/48'

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0.1'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option ifname 'eth1.2'
        option proto 'pppoe'
        option ipv6 'auto'
        option username ''
        option password ''

config interface 'wan6'
        option ifname 'eth1.2'
        option proto 'dhcpv6'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0 1 2 3 5t'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '4 6t'

root@swrt:~# cat /etc/config/dhcp

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'
        option cachesize '10000'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv6 'server'
        option ra 'server'
        option ra_management '1'
        option ra_preference 'medium'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

root@swrt:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr :CF
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: 2a02:/60 Scope:Global
          inet6 addr: fe8f/64 Scope:Link
          inet6 addr: fd1::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5223 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4841 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:805513 (786.6 KiB)  TX bytes:2421773 (2.3 MiB)

eth0      Link encap:Ethernet  HWaddr 5:CF
          inet6 addr: fef/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5313 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4885 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1024
          RX bytes:923801 (902.1 KiB)  TX bytes:2447274 (2.3 MiB)
          Interrupt:37

eth0.1    Link encap:Ethernet  HWaddr 5:CF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5195 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4841 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:802125 (783.3 KiB)  TX bytes:2421773 (2.3 MiB)

eth1      Link encap:Ethernet  HWaddr 5A:CF
          inet6 addr: fe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:870 errors:0 dropped:0 overruns:0 frame:0
          TX packets:859 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1024
          RX bytes:180303 (176.0 KiB)  TX bytes:151798 (148.2 KiB)
          Interrupt:36

eth1.2    Link encap:Ethernet  HWaddr 5:CF
          inet6 addr: fef/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:870 errors:0 dropped:0 overruns:0 frame:0
          TX packets:850 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:164643 (160.7 KiB)  TX bytes:147352 (143.8 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:372 errors:0 dropped:0 overruns:0 frame:0
          TX packets:372 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:33447 (32.6 KiB)  TX bytes:33447 (32.6 KiB)

pppoe-wan Link encap:Point-to-Point Protocol
          inet addr:79.117.240.165  P-t-P:10.0.0.1  Mask:255.255.255.255
          inet6 addr: fe/10 Scope:Link
          inet6 addr: 2a05/128 Scope:Global
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:710 errors:0 dropped:0 overruns:0 frame:0
          TX packets:672 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:151076 (147.5 KiB)  TX bytes:123668 (120.7 KiB)

wlan0     Link encap:Ethernet  HWaddr 51
          inet6 addr: fe1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:285 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3240 (3.1 KiB)  TX bytes:51976 (50.7 KiB)

wlan1     Link encap:Ethernet  HWaddr 58:D0
          inet6 addr: fe0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:555 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:540 (540.0 B)  TX bytes:123927 (121.0 KiB)

root@swrt:~# uci show network
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fd::/48'
network.lan=interface
network.lan.type='bridge'
network.lan.ifname='eth0.1'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.wan=interface
network.wan.ifname='eth1.2'
network.wan.proto='pppoe'
network.wan.ipv6='auto'
network.wan.username='7'
network.wan.password='4'
network.wan6=interface
network.wan6.ifname='eth1.2'
network.wan6.proto='dhcpv6'
network.@switch[0]=switch
network.@switch[0].name='switch0'
network.@switch[0].reset='1'
network.@switch[0].enable_vlan='1'
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device='switch0'
network.@switch_vlan[0].vlan='1'
network.@switch_vlan[0].ports='0 1 2 3 5t'
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device='switch0'
network.@switch_vlan[1].vlan='2'
network.@switch_vlan[1].ports='4 6t'
root@swrt:~# cat /etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'f::/48'

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0.1'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option ifname 'eth1.2'
        option proto 'pppoe'
        option ipv6 'auto'
        option username 'C'
        option password ''

config interface 'wan6'
        option ifname 'eth1.2'
        option proto 'dhcpv6'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0 1 2 3 5t'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '4 6t'

root@swrt:~# ifstatus lan
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 387,
        "l3_device": "br-lan",
        "proto": "static",
        "device": "br-lan",
        "updated": [
                "addresses"
        ],
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "192.168.1.1",
                        "mask": 24
                }
        ],
        "ipv6-address": [

        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [
                {
                        "address": "2::",
                        "mask": 60,
                        "local-address": {
                                "address": "2800::1",
                                "mask": 60
                        }
                },
                {
                        "address": "fd1c:f65f:29ee::",
                        "mask": 60,
                        "local-address": {
                                "address": "fd29ee::1",
                                "mask": 60
                        }
                }
        ],
        "route": [

        ],
        "dns-server": [

        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {

        }
}
root@swrt:~# {
wdr3600 rev1.4 OpenWrt
wrt1900ACS v.2 OpenWrt/DD-WRT
GL-MT6000 OpenWrt/Gargoyle

User avatar
oliver44
Posts: 71
Joined: Tue Mar 20, 2018 1:29 am
Location: Romanaia

Re: Gargoyle IPv6 Testing

Post by oliver44 »

openwrt config 3

Code: Select all

BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.6, r11278-8055e38794
 -----------------------------------------------------
root@OpenWrt:~# ifstatus wan
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 179,
        "l3_device": "pppoe-wan",
        "proto": "pppoe",
        "device": "eth1.2",
        "updated": [
                "addresses",
                "routes"
        ],
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "822",
                        "mask": 32,
                        "ptpaddress": "10.0.0.1"
                }
        ],
        "ipv6-address": [
                {
                        "address": "fe16",
                        "mask": 128
                }
        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "10.0.0.1",
                        "source": "0.0.0.0/0"
                }
        ],
        "dns-server": [
                "193.231.252.1",
                "213.154.124.1"
        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {

        }
}
root@OpenWrt:~#  ifstatus wan_6
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": true,
        "uptime": 197,
        "l3_device": "pppoe-wan",
        "proto": "dhcpv6",
        "device": "pppoe-wan",
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [

        ],
        "ipv6-address": [
                {
                        "address": "2a6",
                        "mask": 128
                }
        ],
        "ipv6-prefix": [
                {
                        "address": "2a02:2f09:800a:f200::",
                        "mask": 56,
                        "class": "wan_6",
                        "assigned": {
                                "lan": {
                                        "address": "20::",
                                        "mask": 60
                                }
                        }
                }
        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "fe80::1",
                        "metric": 512,
                        "valid": 770,
                        "source": "2a00::/56"
                },
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "fe80::1",
                        "metric": 512,
                        "valid": 770,
                        "source": "2af16/128"
                }
        ],
        "dns-server": [
                "23::1",
                "20:8::1"
        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {
                "passthru": "001700202a022f0c8000000300000000000000012a022f0c800000080000000000000001",
                "zone": "wan"
        }
}
root@OpenWrt:~# cat /etc/config/firewall
config defaults
        option syn_flood        1
        option input            ACCEPT
        option output           ACCEPT
        option forward          REJECT
# Uncomment this line to disable ipv6 rules
#       option disable_ipv6     1

config zone
        option name             lan
        list   network          'lan'
        option input            ACCEPT
        option output           ACCEPT
        option forward          ACCEPT

config zone
        option name             wan
        list   network          'wan'
        list   network          'wan6'
        option input            REJECT
        option output           ACCEPT
        option forward          REJECT
        option masq             1
        option mtu_fix          1

config forwarding
        option src              lan
        option dest             wan

# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
config rule
        option name             Allow-DHCP-Renew
        option src              wan
        option proto            udp
        option dest_port        68
        option target           ACCEPT
        option family           ipv4

# Allow IPv4 ping
config rule
        option name             Allow-Ping
        option src              wan
        option proto            icmp
        option icmp_type        echo-request
        option family           ipv4
        option target           ACCEPT

config rule
        option name             Allow-IGMP
        option src              wan
        option proto            igmp
        option family           ipv4
        option target           ACCEPT

# Allow DHCPv6 replies
# see https://dev.openwrt.org/ticket/10381
config rule
        option name             Allow-DHCPv6
        option src              wan
        option proto            udp
        option src_ip           fc00::/6
        option dest_ip          fc00::/6
        option dest_port        546
        option family           ipv6
        option target           ACCEPT

config rule
        option name             Allow-MLD
        option src              wan
        option proto            icmp
        option src_ip           fe80::/10
        list icmp_type          '130/0'
        list icmp_type          '131/0'
        list icmp_type          '132/0'
        list icmp_type          '143/0'
        option family           ipv6
        option target           ACCEPT

# Allow essential incoming IPv6 ICMP traffic
config rule
        option name             Allow-ICMPv6-Input
        option src              wan
        option proto    icmp
        list icmp_type          echo-request
        list icmp_type          echo-reply
        list icmp_type          destination-unreachable
        list icmp_type          packet-too-big
        list icmp_type          time-exceeded
        list icmp_type          bad-header
        list icmp_type          unknown-header-type
        list icmp_type          router-solicitation
        list icmp_type          neighbour-solicitation
        list icmp_type          router-advertisement
        list icmp_type          neighbour-advertisement
        option limit            1000/sec
        option family           ipv6
        option target           ACCEPT

# Allow essential forwarded IPv6 ICMP traffic
config rule
        option name             Allow-ICMPv6-Forward
        option src              wan
        option dest             *
        option proto            icmp
        list icmp_type          echo-request
        list icmp_type          echo-reply
        list icmp_type          destination-unreachable
        list icmp_type          packet-too-big
        list icmp_type          time-exceeded
        list icmp_type          bad-header
        list icmp_type          unknown-header-type
        option limit            1000/sec
        option family           ipv6
        option target           ACCEPT

config rule
        option name             Allow-IPSec-ESP
        option src              wan
        option dest             lan
        option proto            esp
        option target           ACCEPT

config rule
        option name             Allow-ISAKMP
        option src              wan
        option dest             lan
        option dest_port        500
        option proto            udp
        option target           ACCEPT

# include a file with users custom iptables rules
config include
        option path /etc/firewall.user


### EXAMPLE CONFIG SECTIONS
# do not allow a specific ip to access wan
#config rule
#       option src              lan
#       option src_ip   192.168.45.2
#       option dest             wan
#       option proto    tcp
#       option target   REJECT

# block a specific mac on wan
#config rule
#       option dest             wan
#       option src_mac  0:66
#       option target   REJECT

# block incoming ICMP traffic on a zone
#config rule
#       option src              lan
#       option proto    ICMP
#       option target   DROP

# port redirect port coming in on wan to lan
#config redirect
#       option src                      wan
#       option src_dport        80
#       option dest                     lan
#       option dest_ip          192.168.16.235
#       option dest_port        80
#       option proto            tcp

# port redirect of remapped ssh port (22001) on wan
#config redirect
#       option src              wan
#       option src_dport        22001
#       option dest             lan
#       option dest_port        22
#       option proto            tcp

### FULL CONFIG SECTIONS
#config rule
#       option src              lan
#       option src_ip   192.168.45.2
#       option src_mac  0:55
#       option src_port 80
#       option dest             wan
#       option dest_ip  194.25.2.129
#       option dest_port        120
#       option proto    tcp
#       option target   REJECT

#config redirect
#       option src              lan
#       option src_ip   192.168.45.2
#       option src_mac  00:55
#       option src_port         1024
#       option src_dport        80
#       option dest_ip  194.25.2.129
#       option dest_port        120
#       option proto    tcp
root@OpenWrt:~#  cat /etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd::/48'

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0.1'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option ifname 'eth1.2'
        option proto 'pppoe'
        option password ''
        option ipv6 'auto'
        option username ''

config interface 'wan6'
        option ifname 'eth1.2'
        option proto 'dhcpv6'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0 1 2 3 5t'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '4 6t'

root@OpenWrt:~# cat /etc/config/dhcp

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv6 'server'
        option ra 'server'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'

root@OpenWrt:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 5F
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: f/60 Scope:Global
          inet6 addr: 1/60 Scope:Global
          inet6 addr: f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7249 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9093 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1077491 (1.0 MiB)  TX bytes:5399266 (5.1 MiB)

eth0      Link encap:Ethernet  HWaddr 
          inet6 addr: /64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7339 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9123 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532
          RX bytes:1214573 (1.1 MiB)  TX bytes:5439639 (5.1 MiB)
          Interrupt:37

eth0.1    Link encap:Ethernet  HWaddr 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7249 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9093 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1077491 (1.0 MiB)  TX bytes:5399266 (5.1 MiB)

eth1      Link encap:Ethernet  HWaddr 
          inet6 addr: fe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5021 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3209 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532
          RX bytes:3722563 (3.5 MiB)  TX bytes:563329 (550.1 KiB)
          Interrupt:36

eth1.2    Link encap:Ethernet  HWaddr 
          inet6 addr: fecf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5021 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3202 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3632185 (3.4 MiB)  TX bytes:549695 (536.8 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:488 errors:0 dropped:0 overruns:0 frame:0
          TX packets:488 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:45470 (44.4 KiB)  TX bytes:45470 (44.4 KiB)

pppoe-wan Link encap:Point-to-Point Protocol
          inet addr:86.124.111.22  P-t-P:10.0.0.1  Mask:255.255.255.255
          inet6 addr: 26/128 Scope:Global
          inet6 addr: f/10 Scope:Link
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:4775 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2866 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:3582246 (3.4 MiB)  TX bytes:453855 (443.2 KiB)

root@OpenWrt:~# uci show network
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='::/48'
network.lan=interface
network.lan.type='bridge'
network.lan.ifname='eth0.1'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.wan=interface
network.wan.ifname='eth1.2'
network.wan.proto='pppoe'
network.wan.password=''
network.wan.ipv6='auto'
network.wan.username=''
network.wan6=interface
network.wan6.ifname='eth1.2'
network.wan6.proto='dhcpv6'
network.@switch[0]=switch
network.@switch[0].name='switch0'
network.@switch[0].reset='1'
network.@switch[0].enable_vlan='1'
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device='switch0'
network.@switch_vlan[0].vlan='1'
network.@switch_vlan[0].ports='0 1 2 3 5t'
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device='switch0'
network.@switch_vlan[1].vlan='2'
network.@switch_vlan[1].ports='4 6t'
root@OpenWrt:~#
wdr3600 rev1.4 OpenWrt
wrt1900ACS v.2 OpenWrt/DD-WRT
GL-MT6000 OpenWrt/Gargoyle

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Gargoyle IPv6 Testing

Post by Lantis »

I set up a test pppoe server on my own network, and i got ipv6 working with the following:

Code: Select all

config interface 'wan'
	option ifname 'eth1'
	option proto 'pppoe'
	option username 'test'
	option password 'test'
	option keepalive '3 5'
	option ipv6 '1'

config interface 'wan6'
	option ifname 'eth1'
	option proto 'dhcpv6'
It even worked using just the Gargoyle GUI and not making any manual adjustments.
So...
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

-taz-
Posts: 44
Joined: Wed Oct 23, 2019 11:21 pm

Re: Gargoyle IPv6 Testing

Post by -taz- »

hi
IPv6. When used, the QOS does not work, I have to turn off IPv6 for the QOS to work. Any solution?

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Gargoyle IPv6 Testing

Post by Lantis »

Works fine for me. Would you like to share your settings or elaborate on what doesn't work?
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

-taz-
Posts: 44
Joined: Wed Oct 23, 2019 11:21 pm

Re: Gargoyle IPv6 Testing

Post by -taz- »

I limit the megabytes to 10000 example and do a speed test pass that limit I have to use these commands to turn off IPv6


uci set 'network.lan.ipv6=off'
uci set 'network.wan.ipv6=off'
uci set 'dhcp.lan.dhcpv6=disabled'
/etc/init.d/odhcpd disable
uci commit

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Gargoyle IPv6 Testing

Post by Lantis »

And how do you limit the speed? Class? Overall bandwidth? Quotas? Connection bytes?

Please stop making me guess.
Also, you've previously done a lot of custom iptables commands for QoS. Are any of those active? I won't help you debug a modified system.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply