URL redirect



  • Hi,

    I want to use a local net without internet connection.
    I have a webserver with a website (www.test.com). All users should connect only to this website no matter which url they use (f.e. www.google.com).
    So I use the DNS Forwarder with custom options (X.X.X.X is the IP of the webserver):
    address=/com/X.X.X.X
    So all urls with .com will be redirected to the webserver. This works fine, but the shown URL is not the url of my site.
    Now I want that the URL is always for example test.com no matter whitch url are used.
    Example: the user writes in his browser www.google.com -> the test.com website will be shown with the url test.com in the browser.
    What can I do?


  • LAYER 8 Netgate

    You want a port forward on LAN for:

    Source LAN net port any dest any port 80 NAT address X.X.X.X port 80

    SSL/TLS won't work but there you go.


Log in to reply