Re: multiple ppp links and routing ..




Moe Trin wrote:

Is this a continuation of the stuff you posted about back in January in
Yes, it is :)

Does your modem(s) really know how to say all of those words?

I don't know.All I did was looking for example and copying settings I
though I should use.
Let's say that if it understands this words it would be usefull ?

'' ATZ

Do you know specifically that this is the correct init-string for your
modem? "ATZ" sets what has been saved to NVRAM setting 0, and unless you
know positively that what is set in NVRAM, you are better off using the
factory default setting - almost always AT&Fn where 'n' is 0, 1, or maybe
2.

OK-AT-OK "ATDT0331051010"

OK ATDT0331051010

So I should only use what you say ?
I just copied the result of some configuration tool available for
debian ..
I also had a look in how to's but I wanted to use the most standard
setting I could ..


You'll also need to add some firewall rules to restrict use of each
connection. When you '/sbin/route add -net' that route is available
to _all_ users, not just the one who brought up the connection.


This is already done by iptables .. it first refuses anyone, adding
manually who can be routed but then also i have a routing table for
each connection (with all users as rules) and no default route .. I
think is enough, is it ?
Oh, let me ask an other question, is it possible to count data in/out
for a certain IP with iptables and log ? like 40 mb in and 90 mb out
for user 10.0.0.2
A case statement is probably easier. See the Bash-Prog-Intro-HOWTO and
the "Advanced Bash Scripting Guide" from http://tldp.org/guides.html.

Hey thanks and good memory!

.



Relevant Pages

  • Re: dialup solution (as seconary connection / iptables )
    ... Let me first ask in short the most pressing IPTABLES question. ... Where and how do I alter the source IP to my ppp0 internet IP. ... there which are executed on dialing a connection and on hang up. ... Currently I have default route to router and out to DSL internet. ...
    (comp.os.linux.networking)
  • Re: 72.14.207.104
    ... > remembers the connection and passes it through. ... > closed the browser before the response came back you would get this sort ... While not saying your should ignore that issue, an iptables firewall by ... I would say I have at best an intermediate level capability with iptables. ...
    (comp.os.linux.security)
  • X & Gnome crashes the system with iptables
    ... kernel 2.4.21, ... I spent a lot of time to write rules for iptables to obtain a good firewall. ... # Support for connection tracking ... packets are denied until ...
    (comp.os.linux.x)
  • X & Gnome crashes the system with iptables
    ... kernel 2.4.21, ... I spent a lot of time to write rules for iptables to obtain a good firewall. ... # Support for connection tracking ... packets are denied until ...
    (comp.os.linux.setup)
  • X & Gnome crashes the system with iptables
    ... kernel 2.4.21, ... I spent a lot of time to write rules for iptables to obtain a good firewall. ... # Support for connection tracking ... packets are denied until ...
    (alt.linux)