I just want to reroute internal traffic to go directly to a server within the network instead of going around the internet. I'll show you both options LAN traffic and WAN traffic.
===========================================================================
#1 - HARD Firewall you need to open Port 53 UDP and (TCP if needed).
Thus,(for external users) site.domain.com --> 111.222.111.12 must be set to static DNS on each OUTSIDE PUBLIC laptop, Phone, Desktop or whatever. Godaddy A records updated with Public Host or IP.
I would assume you are filtering all traffic from ONE BOX. With MS Servers I use SimpleDNS installed on it. Your HOST NAME can easily be pointed to a Static or Dynamic Ip. You can use a Host name or IP. In this example it will be IP because resolving host names static is no problem, but dynamic Ips you need what's called TTL a low number. KISS lets keep this simple. Simple DNS does this all anyway. I don't use A records with Microsoft but you can point to a local ip using DNS.
===============================================================
Make sure the IP of the DNS box is A Private Ip
192.168.1.200 = IP of this DNS server
255.255.255.0
192.168.1.1 = firewall ip
192.168.1.200 = DNS after SimpleDNS Installed and activated
192.168.1.1 = before you install simpleDNS otherwise no internet access.
==============================================
Remember, you told your plastic or metal firewall to open or FORWARD this local IP 192.168.1.200 on Port 53 UDP and TCP. Thus any request for ANY website(s) will first pass from the public outside into your private box 192.168.1.200. I promise you will get some nasty people trying to steal your stuff...lots of them lots of bad people. If you are a newbie STOP and pay someone professional or your trade secrets will be out on the net or in a lawyers office. This is probably the most important setup of security period. Remember PORT 53 is open for all to view and WON'T CLOSE unlike other temp random ports. Yes recursion fixes this but again .....
Got that? Now your Public IP 111.222.111.12 will forward all DNS port 53 requests
to this specific Machine in your office 192.168.1.200 when you are out of your local IP. When you are Locally plugged in its dns 192.168.1.200 as dns 1
All outside roadies should add TCP/IPV4
USE THE FOLLOWING DNS SERVER ADDRESSES:
DNS 1: 111.222.111.12
All your indoor Employees (use admin permissions to prevent bypass of DNS)
USE THE FOLLOWING DNS SERVER ADDRESSES:
DNS 1: 192.168.1.200
again, THAT 111.222.111.12 public ip traffic will go into your office ONLY to this machine 192.168.1.200 not any other machine.
The last thing you want is one of your OUTSIDE employees using your laptops for porn or other things. Now you can stop this without a VPN and prevent $5 dollar foot long headaches :)
Confused ? this is a very hard topic to understand for some but legal requirement for some companies. For only LAN Traffic the above will be fine. For the road warriors you want to filter everything if W2. Deny everything but these approved websites. If 1099, then it's there own dam machine. Hope this added basic steps helps someone else looking for even more.