Jump to content
  • 0
arsik

Netmap на стандартной прошивке без opkg возможно?

Question

нужна следующая конструкция iptables
 

iptables -t nat -A PREROUTING  -i tun0 -d 10.21.20.0/24 -j NETMAP --to 192.168.88.0/24
iptables -t nat -A POSTROUTING -o tun0 -s 192.168.88.0/24 -j NETMAP --to 10.21.20.0/24

Такое возможно сделать на стандартной прошивке? Или только через Entware-3x или подобные дополнения?

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
В 4/2/2018 в 12:16, arsik сказал:

нужна следующая конструкция iptables
 


iptables -t nat -A PREROUTING  -i tun0 -d 10.21.20.0/24 -j NETMAP --to 192.168.88.0/24
iptables -t nat -A POSTROUTING -o tun0 -s 192.168.88.0/24 -j NETMAP --to 10.21.20.0/24

Такое возможно сделать на стандартной прошивке? Или только через Entware-3x или подобные дополнения?

Только через дополнения.

  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...