Jump to content
  • 0

Двоен нат


rosen4o

Question

Здравейте опитвам се да пренасоча портове зад двоен нат

 

isp       - router    - lan

x.x.x.x - y.y.y.y - z.z.z.z

 

Рутера получава частен ип-адрес, а isp-то го мапва с реален

/ip firewall nat add action=dst-nat chain=dstnat disabled=no dst-port=80 in-interface=ether1-gateway protocol=tcp to-addresses=z.z.z.z to-ports=80

Пакетите стигат до рутера, но после не се връщат

 

Някакви идеи?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
  • Administrator

Здравейте опитвам се да пренасоча портове зад двоен нат

 

isp       - router    - lan

x.x.x.x - y.y.y.y - z.z.z.z

 

Рутера получава частен ип-адрес, а isp-то го мапва с реален

/ip firewall nat add action=dst-nat chain=dstnat disabled=no dst-port=80 in-interface=ether1-gateway protocol=tcp to-addresses=z.z.z.z to-ports=80

Пакетите стигат до рутера, но после не се връщат

 

Някакви идеи?

/ip firewall nat add chain=dstnat dst-address=y.y.y.y protocol=tcp dst-port=80 action=dst-nat to-addresses=z.z.z.z to-ports=80

Мисля , че така е правилно !

 

Link to comment
Share on other sites

  • 0
  • Administrator

Получава се пак същото и това го бях пробвал :(

Ако ISP е пренасочил порта няма как да не излизат нещата при теб!

Edited by JohnTRIVOLTA
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.