View previous topic :: View next topic |
Author |
Message |
linderox n00b
Joined: 03 Jun 2007 Posts: 41
|
Posted: Wed Nov 07, 2007 12:29 pm Post subject: настройки iptables для двух ppp |
|
|
мой провайдер ADSL дал для меня 2 логина:
1 логин для интернета, 2ой для локального интернета (файлообменная сеть)
хотел настроить ppp и iptables для того чтобы клиенты лазили на пару сайтов через локальный интернет, при этом не отключался нормальный...говорят такое возможно.
Какие правила нужно добавить в iptables?
моя сетевуха в сторону локалки eth0 в сторону интернета eth1.дистрибутив gentoo,модем Zyxel 600 Prestige |
|
Back to top |
|
|
calculator Apprentice
Joined: 16 Oct 2006 Posts: 183 Location: Russia, Moscow
|
Posted: Wed Nov 07, 2007 6:09 pm Post subject: |
|
|
шлюз по умолчанию + iptables(NAT + FORWARD) для интернет интерфейса.
роутинг в местную сеть + iptables FORWARD для сети провайдера. |
|
Back to top |
|
|
andrik n00b
Joined: 10 Aug 2005 Posts: 28
|
Posted: Sun Nov 18, 2007 2:24 pm Post subject: |
|
|
Зачем тут вообще iptables? Статических маршрутов достаточно. |
|
Back to top |
|
|
|