Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VPN
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
Ukf
n00b
n00b


Joined: 12 Nov 2004
Posts: 1

PostPosted: Fri Nov 12, 2004 7:16 pm    Post subject: VPN Reply with quote

Здраствуйте, возникла проблема при настройке VPN(pptp-client).
Нужно его настроить так что бы всё обращение к адресам 192.168.*.* шло через интерфейс eth0 а всё прочее через тунель. Прошу описать полную процедуру установки - а то чувствую что гдето совершаю ошибку
Back to top
View user's profile Send private message
Bor81
n00b
n00b


Joined: 31 Aug 2003
Posts: 65
Location: Kyiv, UA

PostPosted: Sat Nov 13, 2004 2:38 pm    Post subject: Reply with quote

route add -net 192.168.0.0/16 gw ${ip_eth0}
route add default gw ${ip_tunnel}

and read
$ man route
Back to top
View user's profile Send private message
[clu]
Apprentice
Apprentice


Joined: 23 Feb 2004
Posts: 160
Location: 127.0.0.1

PostPosted: Thu Nov 18, 2004 9:43 am    Post subject: Reply with quote

/sbin/route add -net 192.168.0.0/16 gw ${ip_eth0} пишеш в /etc/conf.d/local.start
а в файле настроек соеденение для впн допиши опцию defaultroute
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