Comments (5)
iptables -F POSTROUTING -t nat
iptables -I POSTROUTING -t nat -o $HS_WANIF -j MASQUERADE
from coova-chilli.
what is the purpose of this rule ?
from coova-chilli.
when the wanif is up, snat should be enabled simultaneously
from coova-chilli.
OK . I have a problem setting download upload bw limits when I use https://coova.github.io/mail-archive/chilli/2010-April/001239.html David's recipe. Do you have any idea how can I do it ?
My up.sh looks like
#!/bin/sh
iptables -I FORWARD -o eth0 --src 10.0.0.0/8 -m coova --name chilli -j ACCEPT
iptables -I FORWARD -i eth0 --dst 10.0.0.0/8 -m coova --name chilli --dest -j ACCEPT
iptables -I FORWARD --src 11.0.0.0/8 -j ACCEPT
iptables -I FORWARD --dst 11.0.0.0/8 -j ACCEPT
chilli_query list
40-A5-EF-EF-A2-EB 0.0.0.0 none 167221675400000002 0 - 0/0 0/0 0/0 0/0 0 0 0/0 0/0 -
82-3B-A8-A0-04-2D 10.1.0.11 pass 167221581300000003 1 82-3B-A8-A0-04-2D 1740/0 1/900 189368937/0 20547455/0 0 0 0/0 0/0 -
E0-E1-A9-2C-1D-1B 10.1.0.10 dnat 167221579100000001 0 E0-E1-A9-2C-1D-1B 0/0 0/0 0/0 0/0 0 0 0/0 0/0 -
as you can see bwup bwdown looks 0
cat /proc/net/coova/chilli
mac=82-3B-A8-A0-04-2D src=10.1.0.11 state=1 bin=20900593 bout=197089968 pin=113177 pout=165057
mac=E0-E1-A9-2C-1D-1B src=10.1.0.10 state=0 bin=0 bout=0 pin=0 pout=0
network config
config interface 'loopback'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
option device 'lo'
config globals 'globals'
option packet_steering '1'
config interface 'wan'
option proto 'dhcp'
option device 'eth0'
config interface 'vlan705'
option device 'eth1.705'
option proto 'static'
option ipaddr '10.1.0.1'
option netmask '255.255.0.0'
chilli config
config chilli
option interval '3600'
option txqlen '1000'
option sndbuf '2097152'
option rcvbuf '2097152'
option ipup '/etc/chilli/up.sh'
option ipdown '/etc/chilli/down.sh'
option radiusserver1 'xxxxxxxxxxxxx'
option radiusserver2 '31.145.254.83'
option radiusnasid 'hs_7_2_1'
option radiussecret 'xxxxxxxx'
option dns1 '1.1.1.1'
option dns2 '8.8.8.8'
option uamport '3990'
option uamuiport '4990'
option uamaliasname 'chilli'
option papalwaysok '1'
option acctupdate '1'
option uamsecret 'xxxxxxxxxxx'
option tundev 'tap1'
option usetap '1'
option dhcpif 'eth1.705'
option lease '900'
option dhcpstart '10'
option uamlisten '11.1.0.1'
option dhcplisten '10.1.0.1'
option net '10.1.0.0/16'
option dynip '10.1.0.0/24'
option statip '10.1.1.0/24'
option maxclients '2000'
option kname 'chilli'
option uamanyip '1'
option macauth '1'
option macpasswd 'password'
option uamallowed 'xxxxxxxxxxxxxxxxxxxxxt'
option uamserver 'https://xxxxdefault.aspx'
I appreciate any advise .
from coova-chilli.
nope. still snat is needed.
from coova-chilli.
Related Issues (20)
- Fix HOT 2
- Push routes to clients? HOT 4
- XT_COOVA not "called"? HOT 3
- Is the coova project dead? HOT 6
- Help with iptables and XT_COOVA HOT 1
- Сannot authorize the user by sessionid HOT 3
- compatibility with PHP 8.1 HOT 7
- How to open Splash page in Default Browser Automatically HOT 1
- XT-coova "screwing up" all "readings" - iptables in particular HOT 1
- cmdline.ggo HOT 1
- Coovachilli json wispr-bandwidth-max-down
- Will the next version be released? HOT 1
- Error relocating /lib//libchilli.so.0: __fxstat: symbol not found HOT 2
- tun/tap can't pass TCP/ICMP packet with xt_coova after authentication
- Set chilli wan to other not default wan interface HOT 1
- open all port
- Is Coova still working on Ubuntu? HOT 1
- Poor upload speed on ESXi HOT 11
- It doesnt work ChilliController.js
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coova-chilli.