Hi,

I have a vpn on an adsl line and I wanted to add its traffic to the adsl 
accounting.
The two separated accounting rules seem to work fine.


  all_vpn -       eth0:192.168.0.0/16     tun0    tcp
  all_vpn -       tun0    eth0:192.168.0.0/16     tcp
  all_vpn -       eth0:192.168.0.0/16     tun0    udp
  all_vpn -       tun0    eth0:192.168.0.0/16     udp
  COUNT   all_vpn eth0:192.168.16.0/24    tun0
  COUNT   all_vpn tun0    eth0:192.168.16.0/24
  
  all_sdsl        -       eth0:192.168.0.0/16     eth1    tcp
  all_sdsl        -       eth1    eth0:192.168.0.0/16     tcp
  all_sdsl        -       eth0:192.168.0.0/16     eth1    udp
  all_sdsl        -       eth1    eth0:192.168.0.0/16     udp
  COUNT   all_sdsl        eth0:192.168.16.0/24    eth1
  COUNT   all_sdsl        eth1    eth0:192.168.16.0/24


But if I try to also (I keep the vpn rule too) include the vpn interface to the 
sdsl rule, the sdsl accounting does not work anymore...


  all_sdsl        -       eth0:192.168.0.0/16     eth1    tcp
  all_sdsl        -       eth1    eth0:192.168.0.0/16     tcp
  all_sdsl        -       eth0:192.168.0.0/16     eth1    udp
  all_sdsl        -       eth1    eth0:192.168.0.0/16     udp
  all_sdsl        -       tun0:10.8.0.0/24        eth1    tcp
  all_sdsl        -       eth1    tun0:10.8.0.0/24        tcp
  all_sdsl        -       tun0:10.8.0.0/24        eth1    udp
  all_sdsl        -       eth1    tun0:10.8.0.0/24        udp
  COUNT   all_sdsl        eth0:192.168.16.0/24    eth1
  COUNT   all_sdsl        eth1    eth0:192.168.16.0/24
  COUNT   all_sdsl        tun0:10.8.0.0/24        eth1
  COUNT   all_sdsl        eth1    tun0:10.8.0.0/24


Does anyone known if it is possible to add 2 pairs of interfaces to one 
accounting rule...?


Thx,
JD


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to