Re: [CentOS] ipforwarding -- routing

2021-05-10 Thread Anthony K

On 17/4/21 6:36 am, R C wrote:

Hello,


I have an accesspoint, that I connected to one ethernetport, the ap 
has ip 192.168.67.6, the port 192.168.67.1


I want to forward/route traffic for anything in 192.168.66.0 to go to 
that access point, and from the ap to the other port.




Do you have a topology diagram somewhere?

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] ipforwarding -- routing

2021-04-16 Thread R C

Hello,


I have an accesspoint, that I connected to one ethernetport, the ap has 
ip 192.168.67.6, the port 192.168.67.1


I want to forward/route traffic for anything in 192.168.66.0 to go to 
that access point, and from the ap to the other port.



What is the best way to do that?   I tried:


sudo sysctl -w net.ipv4.ip_forward=1

sudo firewall-cmd --direct --add-rule ipv4 filter FORWARD 0 -o eno1 -i 
enp0s20u4u1 -j ACCEPT
sudo firewall-cmd --direct --add-rule ipv4 filter FORWARD 0 -o 
enp0s20u4u1 -i eno1 -j ACCEPT



but that doesn't seem to work.


thanks,


Ron

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos