Jump to content

OpenVPN - niepoprawny routing

Guest voyteckst

Recommended Posts

Guest voyteckst

Mam problem z routingiem do sieci LAN przez OpenVPN. Ustawiłem push route i z logów wynika, że chyba wypycha to do klienta, ale w LAN podłączyć się można tylko do maszyny na której stoi serwer OpenVPN (po adresie LAN).


Co ciekawe, ta sama konfiguracja na Debianie działa poprawnie i można się podłączyć do dowolnej maszyny w LAN...



Mon Aug 29 18:34:51 2016 user/ PUSH: Received control message: 'PUSH_REQUEST'
Mon Aug 29 18:34:51 2016 user/ send_push_reply(): safe_cap=940
Mon Aug 29 18:34:51 2016 user/ SENT CONTROL [user]: 'PUSH_REPLY,route,route,topology net30,ping 10,ping-restart 120,ifconfig' (status=1)



port 443
proto tcp
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh1024.pem
ifconfig-pool-persist ipp.txt
push "route"
#logs log-append /hdd/openvpn.log
#status /hdd/openvpn-status.log
keepalive 10 120
max-clients 4
tls-auth /etc/openvpn/ta.key
verb 3

Link to comment
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.

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.

  • Create New...