Skip to content

IPv6 subnet forwarding Shorewall logic inverse #2587

Answered by AliveDevil
AliveDevil asked this question in Q&A
Discussion options

You must be logged in to vote

There might be some logic mismatches here1.

Compared to the IPv4-case2, which handles this differently.

Apart from that there might be additional logic issues how the shorewall config is created, because

comment = comment + ' from ' + dest_ip
net = 'net:' + dest_ip

from dest_ip

Isn't the case for routing, it should be to dest_ip, thus changing net = net: + dest_ip to vpn = vpn: + dest-IP.

Footnotes

  1. https://github.com/Ysurac/openmptcprouter-vps-admin/blob/develop/omr-admin.py#L723-L727

  2. https://github.com/Ysurac/openmptcprouter-vps-admin/blob/develop/omr-admin.py#L644-L648

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Ysurac
Comment options

Answer selected by AliveDevil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants