Place to store scripts for client/server bash& cfg scripts.Stratchdog,puppy
- SXOLEIO FOLDER POINTS to /home/puppy/SXOLEIO (for both root & puppy users)
- iptables (change 192.168.1.200 to other ip/url)
bash iptables -t nat -A OUTPUT -d 192.168.1.200 -j DNAT --to-destination %1)
If the lab router uses other IP addresses (instead for the standard 192.168.1.XXX)
bash # redirect all trafic from 192.168.1.200 to-destination 10.131.19.199 iptables -t nat -A OUTPUT -d 192.168.1.200 -j DNAT --to-destination 10.131.19.199
Also on client it modifies the /etc/hosts files so epoptes client can find the server.
Lessons can continue using the adresses 192.168.1.200 and browser will point the redirected data.