В сообщении от четвер, 10-січ-2008 Nicholas написал(a):

> В кофигурации openvpn сервера присутствует строка
> push                    "dhcp-option DNS xx.xx.xx.xx"
> 
> клиенты WIN получают этот dns при коннекте успешно,
> клиетны linux эту опцию игнорируют
> (cat /etc/resolv.conf после коннекта не меняется).
> 
> Как можно исправить ситуацию ?

поиск "push" по http://openvpn.net/howto.html быстро показал следующее:

Pushing DHCP options to clients
The OpenVPN server can push DHCP options such as DNS and WINS server 
addresses to clients (some caveats to be aware of). Windows clients can accept 
pushed DHCP options natively, while non-Windows clients can accept them by 
using a 
client-side up script which parses the foreign_option_n environmental variable 
list. 
See the man page or openvpn-users mailing list archive for non-Windows 
foreign_option_n documentation and script examples.

поиск "--up" по http://openvpn.net/man.html показал следующее:

-up cmd 
Shell command to run after successful TUN/TAP device open (pre --user UID 
change). 
The up script is useful for specifying route commands which route IP traffic 
destined 
for private subnets which exist at the other end of the VPN connection into the 
tunnel. 


-- 
JID: alexey#boyko,km,ua

Ответить