Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Good" ways to configure WAR1 CPE
#11
Yes, you can use wpci1 instead of $net. The script is pretty flexible in this regard.
Reply
#12
bobbyc Wrote:Hi, I have to nat a few cpe's this week; the AP is prism v2 and is getting upgraded next week so we can then use WDS. Nat is new to me and will just be in place till next week.

Is it necessary to declare what device is net? Or can I just do the masq statement with wpci1 rather than $net?
Try to teach your self to declare variables (like $net) so your code/rules ar as flexible as possible. That is one of the programming axioms.

If you do that in any occasion, you will be able to copy code (not just NAT but FW and CBQ also) from one unit to the other without much change. for example, if you have 50 CBQ rules with "on wpci2" instead of "on $omni", you might have to change wpci2 to wpci3 or wpc4... 49 times more than neccesary.
Ljubomir Ljubojevic - Love is in the Air
Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman...
StarOS and CentOS/RHEL/Linux consultant
Powerful Starv3 manipulation tool - StarV3 Multipractik for Linux
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)