Join us now. It is free, and it takes less than 1 minute to register.
Register now
Subscribe to our daily newsletter. It is free, and it comes with many benefits.


+ Reply to Thread
Page 81 of 113 FirstFirst ... 317177787980818283848591 ... LastLast
Results 1,201 to 1,215 of 1692

Thread: Splitting international and local traffic on a Linksys WRT54G

  1. #1201

    Default

    Hi Gatecrasher

    Everything has been working wonderfully since i have updated to 12c version of the script.

    I'm wondering however if it is possible to create a list of permissible sites, such as only allowing internet banking sites (www.absa.co.za www.fnb.co.za) and barring every other site?

    This would be very usefull.

  2. #1202

    Default

    Quote Originally Posted by ian2808 View Post
    Hi Gatecrasher,

    I would like to make a cron job to connect local at 8AM in the morning and disconnect local at 8PM in the evening.

    At present I am manually loading your startup script at the specified times with the connections modified (I just comment out the local connection).

    Is this possible and if so could you point me in the right direction?

    Any help will be appreciated.
    If you look a few pages back in this thread there are some mods to the script that use cron jobs to change the default route - used for the Axxess 626 account - but what you are asking is a bit more complex. You need a job to delete +-700 local routes at 8pm and reinstate them again at 8 the morning. You local account will stay connected at night and weekends - it just wont get any traffic.

    So add this to the end of your startup script

    Code:
    echo "for IP in \`cat /tmp/routes.txt\`; do
    if [ \"\`echo \$IP|grep '{print \$1}'\`\" != \"#\" ]; then
    route \$1 -net \$IP ppp1
    fi 
    done"> /tmp/locrts
    chmod +x /tmp/locrts
    And add this to the Cron Jobs in the DD-WRT GUI

    Code:
    0 20 * * 1-5 root /tmp/locrts del
    0 8 * * 1-5 root /tmp/locrts add
    If for any reason, or initially, you want to add or delete local routes manually, run
    /tmp/locrts add
    or
    /tmp/locrts del

  3. #1203

    Default

    Quote Originally Posted by CyBeRmAn View Post
    Hi Gatecrasher

    Everything has been working wonderfully since i have updated to 12c version of the script.

    I'm wondering however if it is possible to create a list of permissible sites, such as only allowing internet banking sites (www.absa.co.za www.fnb.co.za) and barring every other site?

    This would be very usefull.
    For local only, or for any connection?

  4. #1204

    Default

    Quote Originally Posted by Gatecrasher View Post
    If you look a few pages back in this thread there are some mods to the script that use cron jobs to change the default route - used for the Axxess 626 account - but what you are asking is a bit more complex. You need a job to delete +-700 local routes at 8pm and reinstate them again at 8 the morning. You local account will stay connected at night and weekends - it just wont get any traffic.

    So add this to the end of your startup script

    Code:
    echo "for IP in \`cat /tmp/routes.txt\`; do
    if [ \"\`echo \$IP|grep '{print \$1}'\`\" != \"#\" ]; then
    route \$1 -net \$IP ppp1
    fi 
    done"> /tmp/locrts
    chmod +x /tmp/locrts
    And add this to the Cron Jobs in the DD-WRT GUI

    Code:
    0 20 * * 1-5 root /tmp/locrts del
    0 8 * * 1-5 root /tmp/locrts add
    If for any reason, or initially, you want to add or delete local routes manually, run
    /tmp/locrts add
    or
    /tmp/locrts del
    Gatecrasher,

    You are truly the best!

    I saw the post about the 6to6 accounts, but I realized that my situation was a bit different.

    Thanks again for your prompt and perfect response.
    Last edited by ian2808; 21-07-2009 at 07:13 PM.

  5. #1205

    Default

    Quote Originally Posted by jamezjunk View Post
    has anyone been able to get this working on the micro edition yet? I tried the most recent 12d edition with no luck on mine.
    I don't know of any successes yet.

  6. #1206

    Default

    Think I'll be trying script 12d and DD-WRT v24sp1 at the end of the month. Just wanted to know if people are seeing better throughput with v24sp1 than on v23sp1? I do believe the rs-pppoe is alot heavier than the original pppoe. There was some bug about that too, I think. Has it improved in v24? Didn't see anything on release notes for v24sp1 regarding an improvement.

    I'm running 233MHz overclock and when I get alot of full speed traffic it tends to start hiccuping after a bit as the pppoe connections max out the cpu. Is it better in v24?

    What overclock are people running here?

  7. #1207

    Default

    Quote Originally Posted by Gatecrasher View Post
    For local only, or for any connection?
    Preferably for any connection

  8. #1208

    Default

    Quote Originally Posted by Gatecrasher View Post
    I don't know of any successes yet.
    Thanks, I guess I'll try to use gumtree and swap mine out for an older model.

  9. #1209

    Default

    Quote Originally Posted by TheRift View Post
    Think I'll be trying script 12d and DD-WRT v24sp1 at the end of the month. Just wanted to know if people are seeing better throughput with v24sp1 than on v23sp1? I do believe the rs-pppoe is alot heavier than the original pppoe. There was some bug about that too, I think. Has it improved in v24? Didn't see anything on release notes for v24sp1 regarding an improvement.

    I'm running 233MHz overclock and when I get alot of full speed traffic it tends to start hiccuping after a bit as the pppoe connections max out the cpu. Is it better in v24?

    What overclock are people running here?
    I strongly suggest you use one of the v24 sp2 beta builds rather than the now ancient sp1. Check out this thread to see which builds and why.

    http://dd-wrt.com/phpBB2/viewtopic.p...1195c03c9b8ea4

    As for the cpu overload situation you describe, I find it to be the case on all the builds I've used, even sp2... It may not be a driver issue... Only so much a 200mhz cpu can do.
    .
    .
    Last edited by eXisor; 22-07-2009 at 11:02 AM.

  10. #1210

    Default

    Cool. Will check out the link.

    Yes, I know. 200MHz is good enough for most purposes. I'm going to bump up from 233MHz and see if it is stable. There is some thread on dd-wrt regarding the rs-pppoe being less efficient than the original linksys supplied pppoe.

  11. #1211

    Default

    Quote Originally Posted by TheRift View Post
    Cool. Will check out the link.

    Yes, I know. 200MHz is good enough for most purposes. I'm going to bump up from 233MHz and see if it is stable. There is some thread on dd-wrt regarding the rs-pppoe being less efficient than the original linksys supplied pppoe.
    Yes, but the original linksys supplied pppoe does not handle multiple connections.

  12. #1212

    Default

    Quote Originally Posted by CyBeRmAn View Post
    Preferably for any connection
    Its a strange request from someone called CyBeRmAn.

    Anyway, I don't think the script would be the place to do this. The best I think would be to get a free Opendns account, set Opendns as your static dns server in the router, download their dynamic updating app, and then configure the Opendns dashboard to only allow specific sites.

    This is also a good solution for parents worried about their children's internet activity.

  13. #1213

    Default

    I've taken a look at the settings after creating an account. You can create an override for certain sites but you can't block all sites except a few, only blocking sites with certain content.

    Are there not some commands i can use for the firewall in the Linksys to filter a URL list?

  14. #1214

    Default

    You try setting up something like treewalk DNS server and configure it to return 0.0.0.0 for blocked sites and valid addresses for the others. Tell linksys router to use that machine as the DNS server. Set the forwarders on the DNS server to external servers.

  15. #1215

    Default

    Quote Originally Posted by Gatecrasher View Post
    Yes, but the original linksys supplied pppoe does not handle multiple connections.
    Yeah, I know.

+ Reply to Thread
Page 81 of 113 FirstFirst ... 317177787980818283848591 ... LastLast

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •