Check alle échte Black Friday-deals Ook zo moe van nepaanbiedingen? Wij laten alleen échte deals zien

Openvpn Probleem

Pagina: 1
Acties:

  • Stenii
  • Registratie: November 2011
  • Laatst online: 01-07-2021
Ik verblijf momenteel in Zweden en heb naar mijn server thuis een openvpn verbinding voor bestandsoverdracht en ssh. Ik heb nu sinds ik hier op een router ben aangesloten problemen met internet als ik verbinding maak over openvpn met mijn server. Mijn internet werkt maar als ik de verbinding met Openvpn heb opgezet valt mijn internet weg(kan hij geen websites meer bereiken). Hiervoor zat ik direct op het internet aangesloten zonder router toen werkte het wel. hieronder staan mijn configuratie files. Heeft er misschien iemand ervaring of een oplossing voor dit probleem? Bij voorbaat dank!

Client config.
# Sample client-side OpenVPN 2.0 config file #
client
dev tun
proto udp
#change remote to your static ip
#or domain name for your freenas server
remote ----------
resolv-retry infinite
nobind
persist-key
persist-tun
ca -----.crt
cert -----.crt
key ------.key
ns-cert-type server
comp-lzo

Server config
# Sample OpenVPN 2.0 config file for
# multi-client server.

#replace x.x.x.x with freenas ip
local 192.168.1.114
port ----
proto udp
dev tun
ca --------.crt
cert ------.crt
key -------.key
dh -------.pem
server 10.8.0.0 255.255.255.0

ifconfig-pool-persist ipp.txt
#change x.x.x.x to match your network ip range
#ie 192.168.0.0 or 10.0.0.0
push "route 192.168.1.0 255.255.255.0"
keepalive 10 120
comp-lzo
persist-key
persist-tun
verb 3

Mvg
Sten

  • Thralas
  • Registratie: December 2002
  • Laatst online: 23:39
Zet het eens tussen [code][/code] tags, dan is het tenminste leesbaar.

Verder, als je het volgende toevoegt aan je server config, werkt het dan wel?

code:
1
2
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"


Zo niet, heb je een ander probleem, en dan is het handig als je de output van:
ipconfig /all


vermeldt (of het equivalent van je OS).

  • Stenii
  • Registratie: November 2011
  • Laatst online: 01-07-2021
Ik heb de twee opties toegevoegd aan mijn openvpn.conf maar het probeel is er nog steeds. Volgens mij stuurt is het een dns probleem, sites die in mijn cache staan en die ik benader doormiddel van het ip te typen werkt wel. Ik draai windows 8.1 en de server is een freenas(freebsd).

Windows IP Configuration

Host Name . . . . . . . . . . . . : STEN-LAP
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter LAN-verbinding 3:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Windows Adapter V9 #2
Physical Address. . . . . . . . . : 00-FF-EC-7C-81-A0
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::f9b9:ca43:dae8:3f12%14(Preferred)
IPv4 Address. . . . . . . . . . . : 10.8.0.6(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Lease Obtained. . . . . . . . . . : vrijdag 26 september 2014 17:25:50
Lease Expires . . . . . . . . . . : zaterdag 26 september 2015 17:25:50
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 10.8.0.5
DHCPv6 IAID . . . . . . . . . . . : 654376940
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1B-05-D1-4C-28-D2-44-7B-01-93
DNS Servers . . . . . . . . . . . : 8.8.8.8
8.8.4.4
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter LAN-verbinding 2:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Win32 Adapter OAS
Physical Address. . . . . . . . . : 00-FF-B4-04-D0-91
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Ethernet adapter LAN-verbinding:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Windows Adapter V9
Physical Address. . . . . . . . . : 00-FF-C6-64-68-13
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter LAN-verbinding* 13:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Hosted Network Virtual Adapter
Physical Address. . . . . . . . . : AE-7B-A1-C1-9B-1B
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter LAN-verbinding* 12:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physical Address. . . . . . . . . : AC-7B-A1-C1-9B-1C
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Bluetooth-netwerkverbinding:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Bluetooth-apparaat (Personal Area Network)
Physical Address. . . . . . . . . : AC-7B-A1-C1-9B-1F
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Ethernet:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : cust.bredband2.com
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : 28-D2-44-7B-01-93
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Wireless-N 7260
Physical Address. . . . . . . . . : AC-7B-A1-C1-9B-1B
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::ddca:24e5:24c7:64e4%3(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.3(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : vrijdag 26 september 2014 17:09:24
Lease Expires . . . . . . . . . . : zaterdag 27 september 2014 17:09:24
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 363625377
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1B-05-D1-4C-28-D2-44-7B-01-93
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter LAN-verbinding* 2:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:9d38:6abd:2c41:1ecc:a65f:ad83(Preferred)
Link-local IPv6 Address . . . . . : fe80::2c41:1ecc:a65f:ad83%7(Preferred)
Default Gateway . . . . . . . . . : ::
DHCPv6 IAID . . . . . . . . . . . : 150994944
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1B-05-D1-4C-28-D2-44-7B-01-93
NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter isatap.{EB179047-2BFB-45EE-8F08-52C0D66EE55F}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{EC7C81A0-08BC-4FAA-8265-13324BDF45B9}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #7
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

  • Farg0
  • Registratie: Juli 2009
  • Laatst online: 28-11 12:40
"use default gateway on remote network" afgezet in de ip settings van je vpn verbinding ?

  • Stenii
  • Registratie: November 2011
  • Laatst online: 01-07-2021
Het is mij gelukt ik heb de dns settings op mijn laptop handmatig naar 8.8.8.8 gezet, nu schijnt alles weer te werken :) thanks voor de hulp