Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - testccc

#1
Chinese - 中文 / Re: opnsense端口转发异常
August 11, 2022, 06:54:54 PM
啊,回来看了下,没想到还有回复。
主要的一个问题是用其他的系统,如ikuai,openwrt这些都是正常的,就opnsense下不知道怎么配置, 之前在英文板块下也问了下, 给的答复没帮助。太难了。。。https://forum.opnsense.org/index.php?topic=29308.0
#2
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)


#3
thank you for your reply.
you means this option should be selected to `Pass`?  i will try it later.
#4
General Discussion / port forwarding not work
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?
#5
Chinese - 中文 / opnsense端口转发异常
July 11, 2022, 06:05:32 PM
opnsense作为默认网关, A, B, C 3个机器在同一个lan下, 其中B为openwrt

- A配置网关为B
- B, C配置网关为opnsense

端口转发配置
- opnsense(4000)->A(22)
- opnsense(4001)->C(22)

按上面的配置, 在opnsense开启端口转发后, 外部网络可以正常访问C的端口, 但是无法访问到A的端口, 有没有大佬知道这个是个什么问题?

同样的配置, 用其他路由替代opnsense作为默认网关是ok的。