Server#
This section provides an overview of the server architecture, its main components, and some random config & virtual ethernet!
this also contain hypervisor setup too
- alpine install SSH + firefox lite qemu
- Alpine htop install on live QEMU
- create disk first
- start qemu
- set eth0 up & DHCP
- patch apk configuration
- update
- setup partition
- partitioning
- setup diskless install
- LBU
- bring wlan0 connectivity to the network namespace linux & test routerOS
- setup network namespace
- enable the network interface (inside netns)
- create virtual eth pair between host & netns
- assign ip for virtual eth & virtual eth peer
- setup routing table
- setup ip forwarding & network address translation
- test
- now, run routeros & alpine inside of netns
- Cgit setup
- change default postgresql data dir
- config HTTPS nginx
- docker snippets
- logging running container
- deploy Docmost on server
- fix vthxxxxxxxx is not connected to docker0
- Huge IP addr in firewall mikrotik
- doing this with routeros_api python
- ip aliasing
- tambahan
- ip command
- Linux iptables preview (try making a nat)
- What kind of tables in iptables
- Tables & chain details
- machine session
- command lists
- logic netfilter linux kernel
- Logic NAT
- logic forward data dari br0 ke wlan
- logic forward dari wlan0 ke br0 (sebaliknya)
- Map PID to namespace
- mikrotik firewall
- chains
- network namespace + NAT notes
- Linux netplan
- php-fpm config
- proof of Self-Ping ip in Linux
- QEMU block 8.8.8.8 from host
- iptables rule
- the problem
- qemu booting debian ARM64
- qemu & dedicated nic + macvtap
- normal
- qemu default network
- Linux QEMU network address translation
- Run alpine guest hosts
- Inside of guest VM
- setting up firewall
- qemu q35 vs i440fx
- q35
- i440fx
- Server
- resep nginx oleh pak hanif
- resizing qemu image
- fixing
- install routerOS.iso (not chr) on qemu
- post install
- Run router-OS on qemu
- secondary terminal over /dev/pts/
- setting up routeros + ubuntu server (freeradius) + and archlinux client
- test
- freeradius
- setting up ubuntu server with qemu + custom bridge
- Setup bridge enp0s16u1
- reverse command
- next, buat bridge ke VM. topologi
- setup veth manual
- lanjut assign veth-peer ke qemu (pakai tap device)
- contoh setup pakai namespace
- setup linux bridge between RouterOS & Alpine linux hosts
- setup bridge
- setup TAP
- launch mikrotik ISO
- alpine (as pc-1)
- alpine (as pc-3)
- WinBox config
- result on pc-1
- result on pc-2
- Setup shadowsocks proxy server
- connect
- SQL authentication freeradius server
- populating
- configuration
- sshfs
- systemd config template
- TLDR qemu
- running qemu
- ubuntu server
- experimental (jangan dipakai / do not use)
- experimental 1 (safest)
- tty device driver
- umask
- Setup virtual network interface
- some sorts of equalivalent command
- wireguard setup
- Peer A
- Peer B