ipforwarding -- routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux