Long story short: local corporate server have 2 interfaces: 1) Public Internet IP address (eth0) 2) Local network IP address (eth1) By default Linux tries to reply on interface with default route (eth0 in this case), even if request came from different iface (eth1). Let’s fix it.
Tag: linux
Debian Stretch diskless machine via PXE boot
Inspired by this article. Sometimes I use barebone machines to test or run something, and I already have a server machine, so it’s better to use diskless PXE boot. Enjoy!
Change a File’s Last Modified and Creation Dates on Mac OS X and Linux
Mac os:
find ./folder/ -type f -exec touch -mt 07011200 {} \;
Linux:
find ./folder/ -type f -exec touch -mt 07011200 {} \;