IPv6 block incoming traffic

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

IPv6 block incoming traffic

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
IPv6 block incoming traffic
IPv6 block incoming traffic
2023-11-09 12:46:47 - last edited 2023-11-14 10:33:00
Model: OC300  
Hardware Version: V1
Firmware Version: 5.12.9

Hello,

 

I just set up an IPv6 WAN connection and managed to get a server accessible from the internet. Now, I would like to block all incoming IPv6 traffic (apart from 2 ports to two different servers) from the internet but still allow all outgoing traffic. (pretty much simulating a NAT in terms of allowed traffic).

 

How would I go about it?

As a start, I set up a Switch ACL with Source "IPv6Group_Any" denying to destination "Network: VLAN100".

Afterwards, I cannot ping the server in VLAN100 from VLAN200. So test 1 is fine. Unfortunately, the server cannot ping outside for example to a device on VLAN200.

So it seems I misunderstand something here.

 

My hardware:

- Controller OC300 FW 5.12.9

- Router ER7206 v1.0 FW1.3.0

- SwitchTL-SG2428P v5.0 FW 5.0.5

 

Thanks a lot,

 

sb0373

  0      
  0      
#1
Options
1 Accepted Solution
Re:IPv6 block incoming traffic-Solution
2023-11-14 10:31:27 - last edited 2023-11-14 10:33:00

Summary:
1. To block WAN incoming traffic but not outgoing traffic, you have to use Gateway ACL policies. This feature becomes available with ER7206 firmware >= 1.4.0 (at time of writing, use the beta firmware).
2. Using the ACLs on the switch possibly blocks incoming traffic and allows outgoing traffic. But as both directions are required for a two way communication, this ACL does not work "for outgoing traffic only".
3. To achieve "outgoing traffic only", a stateful policy setting would need to be used. This is currently not available on the switch ACL settings (only Gateway ACL).

 

Thank you for your prodiving the solution, @Tedd404 and @Hank21.

Recommended Solution
  0  
  0  
#10
Options
8 Reply
Re:IPv6 block incoming traffic
2023-11-10 07:34:25 - last edited 2023-11-10 09:52:49

Thank you for your reply  @Hank21 .

 

I have seen that thread but am not really sure it is similar.

 

1. At the moment ER7206 FW 1.3.0 does not seem to have the option of Gateway ACLs as shown on the screenshots.

2. In my case, there is ALWAYS traffic going to the servers; not NEVER. So I guess my case is before an upcoming FW update?

 

I thought I saw in a post somewhere that it is possible to block IPv6 traffic on the switches. Unfortunately, I cannot find the post right now.

 

Either way, it would be nice to understand why my ACL rule is not working as expected. Or is it? I find these rules generally a complex topic so any learning would be great.

 

 

PS: I just noticed that an early access firmware for the router is available that contains ACL IPv6 and actually one of my VPN topics. Let me try that one.

 

EDIT: After updating to the beta firmware 1.4.0 Build 20230828 Rel.58568 of the router, I can confirm that it is more similar but I would like to keep this topic open for the ACL rule explanation

  0  
  0  
#3
Options
Re:IPv6 block incoming traffic
2023-11-13 02:49:06

Hi @sb0373,

 

May I double confirm whether you have the IPv6 ACL issue like this thread mentioned?

So your issue appear to be that you have configured IPV6 and WAN-IN ACLs on the ER7206 to allow all IPV6s to access a specific address in the LAN, however, in fact, your local test shows that some IPv6 addresses cannot access the local Server at all. Am I correct?

Best Regards! >> Omada EAP Firmware Trial Available Here << >> Get the Latest Omada SDN Controller Releases Here << *Try filtering posts on each forum by Label of [Early Access]*
  0  
  0  
#4
Options
Re:IPv6 block incoming traffic
2023-11-13 06:51:00

Hello   @Hank21,

 

I don't think so.

Let's rule out a product issue for time being and call it understanding or user error :)

 

1. On stock ER7206 router firmware 1.3.0 connected to an Omada controller.

2. Pretty basic IPv6 is configured and all is working fine in all directions (no rules at all, multiple VLANs). WAN <--> VLAN 100 as well as VLAN100 <--> VLAN200.

 

3. Set up a Switch ACL with Source "IPv6Group_Any" -------denying to destination-------> "Network: VLAN100".

 

Test 1 (successful): Server A in VLAN200 cannot ping Server B in VLAN100. All works as expected.

Test 2 (fail): Server B in VLAN100 cannot ping Server A in VLAN200. My expectation is, that this should be possible because this direction is not denied.

 

 

Best wishes,

 

sb0373

 

 

 

  0  
  0  
#5
Options
Re:IPv6 block incoming traffic
2023-11-13 09:40:37

  @sb0373 

so communication is bidirectional, if you block any to vlan 100, why would the server in vlan 100 be able to ping another? icmp needs to be replied. 

your rule blocks the reply, that should be the reason why you fail to ping another in another vlan. 

ScReW yOu gUyS. I aM GOinG hoMe. —————————————————————— For heaven's sake, can you write and describe your issue based on plain fact, common logic and a methodologic approach? Appreciate it.
  0  
  0  
#6
Options
Re:IPv6 block incoming traffic
2023-11-13 09:46:09
That came into my mind when writing the last message. Would it then at all be possible to set up "only outgoing" connections in a working way (i.e. allow incoming replies when the device initiates the outgoing connection)?
  0  
  0  
#7
Options
Re:IPv6 block incoming traffic
2023-11-14 03:14:51 - last edited 2023-11-14 10:33:31

Hi @sb0373

 

You need set the Stateful ACL on the Gateway ACL section.

 

Best Regards! >> Omada EAP Firmware Trial Available Here << >> Get the Latest Omada SDN Controller Releases Here << *Try filtering posts on each forum by Label of [Early Access]*
  0  
  0  
#8
Options
Re:IPv6 block incoming traffic
2023-11-14 06:39:23 - last edited 2023-11-14 10:33:15
Thank you! Now I understand. The Gateway ACLs are not there yet on the official FW but your reply closes the picture. I will summarise it later for the next person and then close the topic.
  0  
  0  
#9
Options
Re:IPv6 block incoming traffic-Solution
2023-11-14 10:31:27 - last edited 2023-11-14 10:33:00

Summary:
1. To block WAN incoming traffic but not outgoing traffic, you have to use Gateway ACL policies. This feature becomes available with ER7206 firmware >= 1.4.0 (at time of writing, use the beta firmware).
2. Using the ACLs on the switch possibly blocks incoming traffic and allows outgoing traffic. But as both directions are required for a two way communication, this ACL does not work "for outgoing traffic only".
3. To achieve "outgoing traffic only", a stateful policy setting would need to be used. This is currently not available on the switch ACL settings (only Gateway ACL).

 

Thank you for your prodiving the solution, @Tedd404 and @Hank21.

Recommended Solution
  0  
  0  
#10
Options

Information

Helpful: 0

Views: 1242

Replies: 8

Related Articles