uci set 'network.lan.ipv6=0'
uci set 'network.wan.ipv6=0'
uci set 'dhcp.lan.dhcpv6=disabled'
# Disable RA and DHCPv6 so no IPv6 IPs are handed out
uci -q delete dhcp.lan.dhcpv6
uci -q delete dhcp.lan.ra
# Disable the LAN delegation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Just some notes on enabling smart http with nginx as well as authentication on push for repos | |
| # install git, cgit and apache2-utils (for authentication) | |
| apt install git cgit apache2-utils fcgiwrap | |
| # create a git user | |
| useradd -m -d /srv/git git | |
| su git | |
| cd | |
| mkdir .ssh && chmod 700 .ssh | |
| touch .ssh/authorized_keys && chmod 600 .ssh/authorized_keys |