Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
port forwarding not work
« previous
next »
Print
Pages: [
1
]
Author
Topic: port forwarding not work (Read 1470 times)
testccc
Newbie
Posts: 5
Karma: 0
port forwarding not work
«
on:
July 11, 2022, 06:13:09 pm »
here is my config:
opnsense as the default gateway, A, B, C 3 machines are under the same Lan and machine B is openwrt.
gateway configuration:
- A configures the gateway as B
- B, C configure the gateway as opnsense
port forwarding configuration:
- opnsense(4000)->A(22)
- opnsense(4001)->C(22)
According to the above configuration, after the port forwarding is enabled in opnsense, the external network can access the port of C normally, but cannot access the port of A. does anyone know what the problem is?
Logged
Patrick M. Hausen
Hero Member
Posts: 6812
Karma: 572
Re: port forwarding not work
«
Reply #1 on:
July 11, 2022, 07:16:48 pm »
What's the "associated firewall rule" in the port forwarding page set to? It should be "pass".
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
testccc
Newbie
Posts: 5
Karma: 0
Re: port forwarding not work
«
Reply #2 on:
July 12, 2022, 02:41:00 pm »
thank you for your reply.
you means this option should be selected to `Pass`? i will try it later.
Logged
testccc
Newbie
Posts: 5
Karma: 0
Re: port forwarding not work
«
Reply #3 on:
July 12, 2022, 07:31:31 pm »
this is the log after I modified the rule to pass, but it still doesn't work.
the ip starting with 80 is the external network test machine (machine X)
the ip starting with 183 is my external network ip (opnsense)
the ip starting with 192.168 is the internal test machine (machine A)
machine B is not listed above, it is the gateway of A, and its gateway points to opnsense
The port forwarding test link looks like this
X->opnsense(PORT:36000)->A(PORT:22)
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
port forwarding not work