OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • International Forums »
  • Chinese - 中文 »
  • opnsense端口转发异常
« previous next »
  • Print
Pages: [1]

Author Topic: opnsense端口转发异常  (Read 1698 times)

testccc

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
opnsense端口转发异常
« on: 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的。
Logged

deddey

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 2
    • View Profile
Re: opnsense端口转发异常
« Reply #1 on: August 11, 2022, 08:43:02 am »
opnsense > A 是正常。
A > opnsense 不正常。
按你的设定,A的网关是B,上边的这条应该是 A > B > opnsense.
opnsense会糊涂,不知道在和谁对话

Logged

testccc

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: opnsense端口转发异常
« Reply #2 on: August 11, 2022, 06:54:54 pm »
啊,回来看了下,没想到还有回复。
主要的一个问题是用其他的系统,如ikuai,openwrt这些都是正常的,就opnsense下不知道怎么配置, 之前在英文板块下也问了下, 给的答复没帮助。太难了。。。https://forum.opnsense.org/index.php?topic=29308.0
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • International Forums »
  • Chinese - 中文 »
  • opnsense端口转发异常
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2