# Green pc to AP blue

**URL:** <https://community.ipfire.org/t/green-pc-to-ap-blue/11633>\
**Category:** Security\
**Created:** [14 May 2024 16:02 UTC](https://community.ipfire.org/t/green-pc-to-ap-blue/11633 "2024-05-14T16:02:00Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![old\_men](https://community.ipfire.org/user_avatar/community.ipfire.org/old_men/32/10803_2.png) [@old\_men](https://community.ipfire.org/u/old_men)\
**Post date:** [14 May 2024 16:02 UTC](https://community.ipfire.org/t/green-pc-to-ap-blue/11633/1 "2024-05-14T16:02:00Z")

</div>

Access AccessPoint in the Blue Network with PCs in the green network, somehow I still have a bug in my firewall rule! Away, someone can tell me was wrong about since?

 ![grafik](https://community.ipfire.org/uploads/default/original/2X/0/0e98c3b95a9b18fe68115f7fefb04eeb1d912cde.png)

And there is a German department in the forum?

---

<div class="post-metadata">

**Author:** ![hvacguy](https://community.ipfire.org/user_avatar/community.ipfire.org/hvacguy/32/8576_2.png) [@hvacguy](https://community.ipfire.org/u/hvacguy)\
**Post date:** [14 May 2024 17:43 UTC](https://community.ipfire.org/t/green-pc-to-ap-blue/11633/2 "2024-05-14T17:43:47Z")

</div>

If you have not changed you firewall default behavior. You need no rule for green to blue.  
So rule 4 is not needed.  
And there is no German forum anymore.

---

<div class="post-metadata">

**Author:** ![old\_men](https://community.ipfire.org/user_avatar/community.ipfire.org/old_men/32/10803_2.png) [@old\_men](https://community.ipfire.org/u/old_men)\
**Post date:** [14 May 2024 17:46 UTC](https://community.ipfire.org/t/green-pc-to-ap-blue/11633/3 "2024-05-14T17:46:49Z")

</div>

Ok Thank you, what do you think you didn’t change with the default behavior of the firewall?  
Somehow I can’t get from the green to my AP in the blue.

---

<div class="post-metadata">

**Author:** ![hvacguy](https://community.ipfire.org/user_avatar/community.ipfire.org/hvacguy/32/8576_2.png) [@hvacguy](https://community.ipfire.org/u/hvacguy)\
**Post date:** [14 May 2024 18:09 UTC](https://community.ipfire.org/t/green-pc-to-ap-blue/11633/4 "2024-05-14T18:09:23Z")

</div>

Some AP’s you can not access there WUI from a different subnet. So green can’t always access a WUI in blue.

---

<div class="post-metadata">

**Author:** ![trish](https://community.ipfire.org/user_avatar/community.ipfire.org/trish/32/16001_2.png) [@trish](https://community.ipfire.org/u/trish)\
**Post date:** [14 May 2024 18:16 UTC](https://community.ipfire.org/t/green-pc-to-ap-blue/11633/5 "2024-05-14T18:16:23Z")

</div>

I wish someone would figure out how to properly use bridging of both GREEN and BLUE ☹

---

<div class="post-metadata">

**Author:** ![hvacguy](https://community.ipfire.org/user_avatar/community.ipfire.org/hvacguy/32/8576_2.png) [@hvacguy](https://community.ipfire.org/u/hvacguy)\
**Post date:** [14 May 2024 18:38 UTC](https://community.ipfire.org/t/green-pc-to-ap-blue/11633/6 "2024-05-14T18:38:09Z")

</div>

If they are bridged what is the point of having 2 networks.  
If you have a wifi card as AP bridge it to a nic. Everyone on blue.

---

<div class="post-metadata">

**Author:** ![hvacguy](https://community.ipfire.org/user_avatar/community.ipfire.org/hvacguy/32/8576_2.png) [@hvacguy](https://community.ipfire.org/u/hvacguy)\
**Post date:** [14 May 2024 18:48 UTC](https://community.ipfire.org/t/green-pc-to-ap-blue/11633/7 "2024-05-14T18:48:09Z")

</div>

> [@old\_men](#):
>
> what do you think you didn’t change with the default behavior of the firewall?

Green can talk to blue.  
Blue can not talk to green

> **[Firewall Default Policy - The IPFire Documentation](https://www.ipfire.org/docs/configuration/firewall/default-policy)**

And you can change the firewall default  
Behavior from allow to block.

Allow green to red or blue  
Blocked green to red or blue.

This is a great read.  
[https://www.ipfire.org/blog/firewall-configuration-recommendations-for-ipfire-users](https://www.ipfire.org/blog/firewall-configuration-recommendations-for-ipfire-users)

---

<div class="post-metadata">

**Author:** ![roberto](https://community.ipfire.org/user_avatar/community.ipfire.org/roberto/32/8265_2.png) [@roberto](https://community.ipfire.org/u/roberto)\
**Post date:** [14 May 2024 18:50 UTC](https://community.ipfire.org/t/green-pc-to-ap-blue/11633/8 "2024-05-14T18:50:32Z")

</div>

> [@old\_men](#):
>
> Somehow I can’t get from the green to my AP in the blue.

An idea, you may have to make a SNAT rule since the AP’s response may not be able to reach Green.

Or make a static route on the AP so that it knows how to reach the Green range.

Saludos,.

---

<div class="post-metadata">

**Author:** ![old\_men](https://community.ipfire.org/user_avatar/community.ipfire.org/old_men/32/10803_2.png) [@old\_men](https://community.ipfire.org/u/old_men)\
**Post date:** [15 May 2024 16:21 UTC](https://community.ipfire.org/t/green-pc-to-ap-blue/11633/9 "2024-05-15T16:21:08Z")

</div>

The reading is nice, but doesn’t really help me.

What is a SNAT rule or how do I do this

---

<div class="post-metadata">

**Author:** ![roberto](https://community.ipfire.org/user_avatar/community.ipfire.org/roberto/32/8265_2.png) [@roberto](https://community.ipfire.org/u/roberto)\
**Post date:** [16 May 2024 06:48 UTC](https://community.ipfire.org/t/green-pc-to-ap-blue/11633/10 "2024-05-16T06:48:21Z")

</div>

> [@old\_men](#):
>
> What is a SNAT rule

This may help you:

[https://docs.openstack.org/neutron/pike/admin/intro-nat.html](https://docs.openstack.org/neutron/pike/admin/intro-nat.html)

> [@old\_men](#):
>
> how do I do this

and how to do this:

> **[Using Source NAT - The IPFire Documentation](https://www.ipfire.org/docs/configuration/firewall/rules/source-nat)**

Saludos.

---

<div class="post-metadata">

**Author:** ![nickh](https://community.ipfire.org/user_avatar/community.ipfire.org/nickh/32/9845_2.png) [@nickh](https://community.ipfire.org/u/nickh)\
**Post date:** [16 May 2024 10:13 UTC](https://community.ipfire.org/t/green-pc-to-ap-blue/11633/11 "2024-05-16T10:13:19Z")

</div>

No route should be needed for Blue to Green or vice-versa. Automatically the traffic will pass through IPF and it is aware of routes to both interfaces.

The main possible issue is what was mentioned before, the AP not responding to traffic outside its own subnet. To get round that, you need an SNAT rule something like:

- Source = green subnet or narrow it down to a particular IP
- NAT = Source NAT
- New Source IP address = blue0
- Destination = AP IP (or you can do the whole subnet if you really want)
- Protocol = HTTP or HTTPS or whatever you were using to access the AP, or even ANY.

With respect to the destination, the Windoze firewall often rejects packets from outside its subnet. If you set to destination to ANY then you have a better chance of accessing resources on those PC’s. The downside of it is that, from the PC’s perspective, it no longer knows who is trying to access it as it just sees traffic from blue0.

---

<div class="post-metadata">

**Author:** ![old\_men](https://community.ipfire.org/user_avatar/community.ipfire.org/old_men/32/10803_2.png) [@old\_men](https://community.ipfire.org/u/old_men)\
**Post date:** [16 May 2024 17:10 UTC](https://community.ipfire.org/t/green-pc-to-ap-blue/11633/12 "2024-05-16T17:10:03Z")

</div>

Thank you very much, I think I understand it now. I created the following rule (picture attached) and I now go from green to the blue AP

 ![grafik](https://community.ipfire.org/uploads/default/original/2X/7/7f12c525e4a6a961c05a5fa73750c58cfcd1f542.png)
