Jump to content

Подчсчет на ppp0


Recommended Posts

Не могу понять, где чего-то не хватает. Какие настройки правильноуказывать для rules и пользователя? Пробовал по всякому, может с маршрутизацией надо плясать? Схема вот:

Users

eth0 192.168.2.1

ppp0 192.168.2.3 <-> 192.168.2.100

Inet

eth1 192.168.1.111

 

Файл: rules

ALL 192.168.2.1 DIR0

ALL 192.168.1.111 DIR0

ALL 192.168.2.3 DIR0

ICMP 0.0.0.0/0 NULL

ALL 0.0.0.0/0 DIR2

 

route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.2.100 * 255.255.255.255 UH 0 0 0 ppp0

192.168.2.0 * 255.255.255.0 U 0 0 0 eth0

192.168.1.0 * 255.255.255.0 U 0 0 0 eth1

link-local * 255.255.0.0 U 0 0 0 eth0

loopback * 255.0.0.0 U 0 0 0 lo

default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1

 

У пользователя IP адрес 192.168.2.100, интерфейс ppp0 и галочка всегда Online.

Может кто-нибудь сталкивался? :)

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...