Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
Firewall: NAT: Port Forward [SOLVED]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Firewall: NAT: Port Forward [SOLVED] (Read 6205 times)
roym
Newbie
Posts: 2
Karma: 1
Firewall: NAT: Port Forward [SOLVED]
«
on:
September 17, 2017, 09:09:21 pm »
Hi I am new to OPNsense.
I am trying to open some ports on a fresh install to my web/mail server i created Aliases for the ports and the ip of the server(10.0.0.15)
Firewall: Aliases: View
Name Type Description Values
Open_ports Port(s) 20, 21, 22, 25, 53...
Severs Host(s) 10.0.0.15
Firewall: NAT: Port Forward
If Proto Address Ports Address Ports IP Ports Description
LAN TCP * * LAN address 443 * * Anti-Lockout Rule
80
22
WAN TCP/UDP WAN address * Severs Open_ports Severs Open_ports
but i can't go to my server from outside of the lan i am getting
A potential DNS Rebind attack has been detected.
Try to access the router by IP address instead of by hostname.
what i'm doing wrong ?
Thanx Roy
«
Last Edit: September 19, 2017, 06:58:04 pm by roym
»
Logged
robvh
Newbie
Posts: 10
Karma: 2
Re: Firewall: NAT: Port Forward
«
Reply #1 on:
September 19, 2017, 01:05:12 pm »
Hi Roy
Maybe I misunderstand your intention, but ...
- did you intend to forward only traffic from "source address" WAN address? When you write "go to my server from outside of the lan" I would have expected you mean "any address on the WAN adapter." So specify "source address" as "*".
- the "destination address" and "port" should be what the remote client specified, so "WAN address" would be my guess.
- the "NAT IP" would be the internal IP where you want to redirect, so "severs" would be my suggestion.
Logged
roym
Newbie
Posts: 2
Karma: 1
Re: Firewall: NAT: Port Forward
«
Reply #2 on:
September 19, 2017, 06:55:46 pm »
Hi robvh
thanks for your answer got it working perfect
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
Firewall: NAT: Port Forward [SOLVED]