- I have a server 192.168.0.3 (SERVER). Running Ubuntu Server + DHCP server + Apache;
- The router 192.168.0.1 (ROUTER) (I haven't access to it);
- I have a web-application on SERVER for registration users in the network by applying specific configuration (in DHCP server) for them;
- Users are in the subnet 192.168.0.0/16;
I can config DHCP server to give unregistered machines my SERVER as default gateway.
So how can i redirect all incoming http requests from unregistered machines to my local web-app 192.168.0.3 ?