Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
How to redirect domain to a custom IP address AND specific port?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to redirect domain to a custom IP address AND specific port? (Read 5161 times)
randomwalk
Newbie
Posts: 33
Karma: 2
How to redirect domain to a custom IP address AND specific port?
«
on:
May 31, 2020, 11:39:17 pm »
Is there a way to redirect all LAN traffic to a particular address (e.g.
www.google.com
) to a particular IP
at a specific port
(e.g., 192.168.1.20:8000)?
I want to redirect all Google searches to this internal IP address at a non-standard port. I'm guessing you can do this by making a custom DNS entry in unbound? But I need the traffic directed to a particular port, and I don't think DNS does that. I would appreciate any ideas on how to achieve this.
Logged
Steve28
Newbie
Posts: 30
Karma: 0
Re: How to redirect domain to a custom IP address AND specific port?
«
Reply #1 on:
June 03, 2020, 03:40:05 pm »
First make an overdrive in Unbound DNS -> Overrides. At that point I think it would be easier to set up whatever IP you are forwarding to just listen on port 80 and/or 443. The other option is to use NAT to port forward.
Just FYI chrome has the certificates for all google domains pinned. That means no chromium based browser will allow what you are trying to do.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
How to redirect domain to a custom IP address AND specific port?