diff --git a/Network.md b/Network.md new file mode 100644 index 0000000..9067c5a --- /dev/null +++ b/Network.md @@ -0,0 +1,18 @@ +This is high-priority, because changing Netplan will switch down ssh session. + +Change /etc/netplan/**.yaml : + +``` +blabla + bridges: + br0: + interfaces: [enp3s0] +``` + +then `sudo netplan apply` + +Note that MAC of the device will change, so IP can also change and ssh session will not re-appear. + +Note that changing net or device config of host may change the name of enp3s0 interface, and reconfiguration will be needed. + +AFTER HELL AMOUNT OF TIME I figured out that router setting remote IP is not MY ip, but the machine that sends requests remote ip, so just need to keep empty! fuck. also, access from intranet by ip does not actually goes outside the intranet. fuck. \ No newline at end of file