Server, router, and accessing services from inside of company lan ?
Server eth0 (static IP configuration for ISP)
Ip 89.xx.xx.xx, Under domain: test.com
Server eth1 has been set to Ip 192.168.0.1
Server eth0 got masquerade to pass Internet to eth1 to router.
Router connected to eth1 has Ip 192.168.0.2
Server eth0 pass connections on port 8081 to eth1 > router
DHCP for lan computers has been set at begining to 192.168.102.1
First computer in my internal lan has 192.168.102.2 and it serve IIS on port 8081
Router pass 8081 to 192.168.102.2
I can access server domain.com under 8081 port (from outside) and access this computer, but now i need to configure /linux server?/ so it will allow accessing domain.com:8081 from inside of my company.
I can't use host's file in Windows because it does not accept ports.
Your solutions are bit far way around, v hosts solution is nice i didn't think of that - but still i would configure every computer on my lan that way, bit problematic. is it no possible to do it with lan way ?.
olso i can't switch to 80 port, because my linux server has apache and that would block normal apache.
Why are you double NAT'ing? Makes this very complicated when it doesn't need to be. Just hang everything off the router, and portforward the ports to the server you need off the router. No need to do double NAT.