hello !
I try to build the networks in Openwrt, as bellow:
subnet: 192.168.10.0/24
subnet: 192.168.10.0/24
Node A
Node B
------
------
| |
| |
------\
/-----
\
/
NIC(sta)
NIC(sta)
/
/
\
\
/
/
subnet: 192.168.20.0/24
NIC-1(AP1) NIC-2(ad-hoc) / \ /
NIC-2(ad-hoc) NIC-1(AP2)
\ /
\ /
\ -----/
\-----/
| |
| |
-----
-----
Route A
Route B
Node A connect to the AP1, Node B connect to the AP2; Node A, Node B,
AP1 and AP2
are in the same subnet; if the Node A want to connect to Node B, the path as
below:
Node A --> AP1 --> ad-hoc network --> AP2 Node B
I wand to know, how could I forward the all packets which received by
AP to the ad-hoc
networks; and forward the packets that from ad-hoc network to AP?
Does it possible to use iptables ?
Thank for your help, and any advice !
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users