Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
настройки iptables для двух ppp
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
linderox
n00b
n00b


Joined: 03 Jun 2007
Posts: 41

PostPosted: Wed Nov 07, 2007 12:29 pm    Post subject: настройки iptables для двух ppp Reply with quote

мой провайдер ADSL дал для меня 2 логина:
1 логин для интернета, 2ой для локального интернета (файлообменная сеть)
хотел настроить ppp и iptables для того чтобы клиенты лазили на пару сайтов через локальный интернет, при этом не отключался нормальный...говорят такое возможно.
Какие правила нужно добавить в iptables?
моя сетевуха в сторону локалки eth0 в сторону интернета eth1.дистрибутив gentoo,модем Zyxel 600 Prestige
Back to top
View user's profile Send private message
calculator
Apprentice
Apprentice


Joined: 16 Oct 2006
Posts: 183
Location: Russia, Moscow

PostPosted: Wed Nov 07, 2007 6:09 pm    Post subject: Reply with quote

шлюз по умолчанию + iptables(NAT + FORWARD) для интернет интерфейса.
роутинг в местную сеть + iptables FORWARD для сети провайдера.
Back to top
View user's profile Send private message
andrik
n00b
n00b


Joined: 10 Aug 2005
Posts: 28

PostPosted: Sun Nov 18, 2007 2:24 pm    Post subject: Reply with quote

Зачем тут вообще iptables? Статических маршрутов достаточно.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum