Hi,
I have the following topology.
1. A modem(192.168.1.1) which supports DHCP and NAT with one ethernet port
2. A pc with 2 network cards(rl0 and re0) one of which is connected to the modem(re0)
3. Another pc with 1 network card(eth0) which is connected to the unused NIC(rl0) of the pc earlier specified.
I was guessing if i could make all traffic from re0 to go to rl0 and vice versa(like a hub) I can share internet between the two PCs.
Is my assumption valid? If so what PF rules will be required(I am completely new to PF btw.)
I have the following topology.
1. A modem(192.168.1.1) which supports DHCP and NAT with one ethernet port
2. A pc with 2 network cards(rl0 and re0) one of which is connected to the modem(re0)
3. Another pc with 1 network card(eth0) which is connected to the unused NIC(rl0) of the pc earlier specified.
I was guessing if i could make all traffic from re0 to go to rl0 and vice versa(like a hub) I can share internet between the two PCs.
Is my assumption valid? If so what PF rules will be required(I am completely new to PF btw.)