sudo

Search

You can find the results of your search below.

NFTables Configuration
35 Hits, Last modified:
e the router is allowed to forward packets: * ''sudo sysctl net.ipv4.ip_forward'' to check * ''sudo sysctl net.ipv4.ip_forward=1'' to set or =0 turn off * ''sudo sysctl net.ipv6.conf.all.forwarding=1'' similar f... or ipv6 ====Sample NFTables configuration==== ''sudo vim /etc/nftables.conf'' ++++ Router NFtable Setu
DHCP / DNS Setup
31 Hits, Last modified:
nsure already installed the DNS server software: "sudo apt install bind9" Next check the named.conf con... We will copy the existing files to default: *''sudo cp /etc/bind/named.conf.options /etc/bind/default.named.conf.options'' *''sudo cp /etc/bind/named.conf.local /etc/bind/default.named.conf.local'' *''sudo cp /etc/bind/named.conf.default-zones /etc/bind/d
Router Miscellaneous
23 Hits, Last modified:
''man iftop'' to see options.\\ Typical usage: ''sudo iftop -i br0'' ====nethogs==== nethogs - Net top... 'man nethogs'' to see options.\\ Typical usage: ''sudo nethogs br0'' ====darkstat==== [[https://www.tec... t ''192.168.1.1:667'' ---- ====glances==== * ''sudo apt install pipx'' ([[https://pypa.github.io/pip... systemd file for glances as a local web service ''sudo vim /lib/systemd/system/glances.service'' <code>
NFTables IP Control
21 Hits, Last modified:
mportant NFtables Commands with named sets: *''sudo nft list table inet firewall'' : will list all the active firewall table *''sudo nft add element inet firewall controllist { 192.1... as such: ''5h30m'' for 5 hours 30 minutes. *''sudo nft list set inet firewall controllist'' : will ... e current elements in named set controllist *''sudo nft flush set inet firewall controllist'' : will
Debian / Ubuntu Network Setup
15 Hits, Last modified:
IC2-4. Ensure the bridge utilities are loaded: ''sudo apt install bridge-utils''. Edit the network con... to analyse current network configuration *Use ''sudo journalctl -xeu networking'' to check any errors ... .1 . See the Netplan configuration below: ++++''sudo vim /etc/netplan/network.yaml''| <code> network: ... ateway6: "2001:470:1f2c:10d::1" </code> ++++ *''sudo netplan --debug apply'' To apply any changes to t
ISP PPPoE Network Setup
14 Hits, Last modified:
=== Install the DNS, DHCP, and PPPoE software: ''sudo apt install bind9 isc-dhcp-server pppoeconf'' Di... software for the moment and configure later. *''sudo systemctl disable bind9'' *''sudo systemctl stop bind9'' *''sudo systemctl status bind9'' *''sudo systemctl disable isc-dhcp-server''
IPv6 Setup Notes
10 Hits, Last modified:
torial-configuring-ipv6-for-linux/ Commands: *''sudo vim /etc/netplan/network.yaml'' *''netplan gene... ndex.php/Quick_reference-nftables_in_10_minutes ''sudo nft add rule inet firewall forward iifname "he-ipv6" counter jump base_checks'' ''sudo nft add rule inet firewall forward iifname "br0" ... d systemd nftables configuration file location: ''sudo vim /etc/nftables.conf'' *List all defined nfta
ISP IPoE DHCP Setup Notes
5 Hits, Last modified:
ting connected dhcp leased connections on eno1: ''sudo dhclient -r eno1'', note this also seems to remov... t the upstream DHCP serve to remove lease, e.g. ''sudo dhclient -x eno1'' *To manual request a dhcp lease connection on eno1: ''sudo dhclient -4 eno1'' , the ''-4'' flag restricts operation to IPv4. ===dhclient@.service=== ''sudo vim /etc/systemd/system/dhclient@.service'' <code
IPTables Configuration
4 Hits, Last modified:
guration==== Edit iptables configuration file: ''sudo vim /etc/network/iptables'': <code> *nat :PREROUT... networks is brought on line: *Edit this file: ''sudo vim /etc/network/if-pre-up.d/iptables'' *Add th... ptables </code> *Change the file permissions: ''sudo chown root /etc/network/if-pre-up.d/iptables'', and ''sudo chmod 755 /etc/network/if-pre-up.d/iptable''. No
Router Basic Debian Server Setup
4 Hits, Last modified:
ive on Debian Buster, so needs to be installed: ''sudo apt install netplan.io'' it basically just seems... ap list'' # to show what snaps are installed *''sudo snap remove program'' # to remove snaps listed *''sudo apt purge snapd'' *''sudo apt-mark hold snapd'' *''apt list --installed | grep snap'' It seems like
Router VM
3 Hits, Last modified:
decided to try QEMU/KVM setup as follows: *''%%sudo apt install qemu-system qemu-system-x86 qemu-util... ====Virt-manager remote client setup==== *''%%sudo apt install virt-manager ssh-askpass-gnome --no-i... .local.kptree.net/system?keyfile=id_rsa'%%'' *''sudo apt install gir1.2-spiceclientgtk-3.0'' =====Refe
Router Hardware
2 Hits, Last modified:
DLINE_LINUX_DEFAULT="nomodeset" and then execute "sudo update-grub". Note that the "quiet splash" option... elp make use of the grub menu easier. Always run 'sudo update-grub' to make the modified grub file the c
Basic Netfilter Function Block Diagram
1 Hits, Last modified:
he PPPoE connection mtu edit the following file ''sudo vim /etc/ppp/ip-up'' and append the following to