Redirecting Problems
Posted: Sat Jul 13, 2019 2:17 am
Dear, good afternoon.
I would like to ask for your cooperation in this problem that I have.
I have a RB configured with internet access
- Segment 192.168.0.1/24 (IP of the Router)
- LAN
* PC2 = 192.168.0.3 user with fixed IP
* PC3 = 192.168.0.4 local web server
What I want is that people who try to enter my RB and digitize the IP (192.168.0.1), this automatically sends them to the IP of the local Web server (192.168.0.4)
The rule you use is:
- Firewall ==> NAT ==>
chain = dstnat Dst. Address = 192.168.0.1 protocol = tcp Dst.Port = 80 action = dst-nat To Addresses = 192.168.0.4 To Ports = 80
But when I do the test, the page goes blank and does not load anything.
I would like to ask for your cooperation in this problem that I have.
I have a RB configured with internet access
- Segment 192.168.0.1/24 (IP of the Router)
- LAN
* PC2 = 192.168.0.3 user with fixed IP
* PC3 = 192.168.0.4 local web server
What I want is that people who try to enter my RB and digitize the IP (192.168.0.1), this automatically sends them to the IP of the local Web server (192.168.0.4)
The rule you use is:
- Firewall ==> NAT ==>
chain = dstnat Dst. Address = 192.168.0.1 protocol = tcp Dst.Port = 80 action = dst-nat To Addresses = 192.168.0.4 To Ports = 80
But when I do the test, the page goes blank and does not load anything.