Jump to content
Калькуляторы

локальный трафик в обход vpn сервера

Юзать либо DHCP с функцией назначения маршрутов удаленно или прописыватьу каждого юзверя ручками маршруты, давая им то и дело батники :)

Гемор.

 

Share this post


Link to post
Share on other sites

# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "aaaaaa.ru";
option domain-name-servers 192.168.0.1, 192.168.0.8;

# MS routes: adds extras to supplement routers option
option ms-classless-static-routes code 249 = array of unsigned integer 8;
# RFC3442 routes: overrides routers option
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
.
.
.
.
subnet 192.168.5.0 netmask 255.255.255.0 {
range 192.168.5.5 192.168.5.249;
option ms-classless-static-routes 17, 192,168,0, 192,168,5,1;
option rfc3442-classless-static-routes 17, 192,168,0, 192,168,5,1;
option routers 192.168.5.1;
}

 

для сегмента 192.168.5.0/24 маршрут к 192.168.0.0/17 через 192.168.5.1

Share this post


Link to post
Share on other sites

можно както научит трафик между vpn (pptp/pppoe ) клиентами ходить напрямую по свичам а не через сервер

нельзя! РРРТР/РРРоЕ - это туннелирование, т.е. пакеты передаются инкапсулированными в другие пакеты и всегда проходят через BRAS/NAS ... если надо "локалка по свичам, а инет через РРТР/РРРоЕ" то решение уже было показано, см. пост от IvanI

Edited by snark

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.