Auteur Topic: OpenVPN > IOS > IP  (gelezen 1316 keer)

Offline JAJB

  • Bedankjes
  • -Gegeven: 3
  • -Ontvangen: 0
  • Berichten: 66
OpenVPN > IOS > IP
« Gepost op: 16 februari 2017, 08:20:10 »
Hallo allemaal,

Momenteel ben ik bezig om een OpenVPN te configureren, t lukt alleen niet helemaal.

Ik kan verbindingen maken,maar... mijn ip wijzigd niet! Ik behoud mijn ip van mijn telefoon provider.

L2TP protocol heb ik ook draaien en werkt wel met ip change, moet ik in OpenVPN iets extras doen om dit te krijgen?
  • Mijn Synology: DS214+

Offline JAJB

  • Bedankjes
  • -Gegeven: 3
  • -Ontvangen: 0
  • Berichten: 66
Re: OpenVPN > IOS > IP
« Reactie #1 Gepost op: 16 februari 2017, 11:26:16 »
Momenteel heb ik dit is als config:

[Untitled]
dev tun
tls-client

remote MIJN EXTERN IP 1194

# The "float" tells OpenVPN to accept authenticated packets from any address,
# not only the address which was specified in the --remote option.
# This is useful when you are connecting to a peer which holds a dynamic address
# such as a dial-in user or DHCP client.
# (Please refer to the manual of OpenVPN for more information.)

#float

# If redirect-gateway is enabled, the client will redirect it's
# default network gateway through the VPN.
# It means the VPN connection will firstly connect to the VPN Server
# and then to the internet.
# (Please refer to the manual of OpenVPN for more information.)

#redirect-gateway def1

# dhcp-option DNS: To set primary domain name server address.
# Repeat this option to set secondary DNS server addresses.

#dhcp-option DNS DNS_IP_ADDRESS

pull

# If you want to connect by Server's IPv6 address, you should use
# "proto udp6" in UDP mode or "proto tcp6-client" in TCP mode
proto udp

script-security 2



reneg-sec 0

auth-user-pass

Op Google kwam ik tegen dat je redirect-gateway def1 moet gebruiken!?

Moet dan t "#" weg halen om te activeren?
  • Mijn Synology: DS214+

Offline Hutje

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 201
  • -Ontvangen: 218
  • Berichten: 1.808
Re: OpenVPN > IOS > IP
« Reactie #2 Gepost op: 16 februari 2017, 21:06:54 »
Je bent er bijna !

dev tun
tls-client

remote <JOUW EXT IP ADRES> 1194

# The "float" tells OpenVPN to accept authenticated packets from any address,
# not only the address which was specified in the --remote option.
# This is useful when you are connecting to a peer which holds a dynamic address
# such as a dial-in user or DHCP client.
# (Please refer to the manual of OpenVPN for more information.)

#float

# If redirect-gateway is enabled, the client will redirect it's
# default network gateway through the VPN.
# It means the VPN connection will firstly connect to the VPN Server
# and then to the internet.
# (Please refer to the manual of OpenVPN for more information.)

redirect-gateway def1

# dhcp-option DNS: To set primary domain name server address.
# Repeat this option to set secondary DNS server addresses.

dhcp-option DNS 8.8.8.8

pull

# If you want to connect by Server's IPv6 address, you should use
# "proto udp6" in UDP mode or "proto tcp6-client" in TCP mode
proto udp
script-security 2
comp-lzo
reneg-sec 0
auth-user-pass
<ca>
-----BEGIN CERTIFICATE-----

<hier jouw certificaat>

-----END CERTIFICATE-----
</ca>

DS1515+  [3x 8TB + 1x 4TB + 1x 3TB]  8 GB DDR3 DSM 6.1.7-15284 Update 3
DS1512+  [3x 4TB + 2x 2TB]  4 GB DDR3 DSM 6.1.7-15284 Update 3
DS411j     [3 x 2TB SHR] DSM 6.1.7-15284 Update 3
DS211j     [TEST-NAS] DSM 6.1-15101
RT1900    [AP-mode] SRM 1.2-7742
UPS          APC Back-UPS ES 700G

Offline JAJB

  • Bedankjes
  • -Gegeven: 3
  • -Ontvangen: 0
  • Berichten: 66
Re: OpenVPN &gt; IOS &gt; IP
« Reactie #3 Gepost op: 16 februari 2017, 22:41:07 »
Bedankt voor je reactie, ga t thuis proberen.
  • Mijn Synology: DS214+


 

OpenVPN werkt, kan niet bij bestanden

Gestart door EgBoard VPN Server

Reacties: 1
Gelezen: 1547
Laatste bericht 05 november 2018, 19:11:30
door Pippin
OpenVPN installeren lukt niet

Gestart door ajansen66Board VPN Server

Reacties: 22
Gelezen: 6651
Laatste bericht 19 juni 2017, 00:07:59
door hbancy
PIA OpenVPN vragen

Gestart door mouse1277Board DDNS / Quick Connect / EZ-Internet / Portforwarding

Reacties: 2
Gelezen: 1779
Laatste bericht 17 maart 2016, 12:00:51
door Briolet
Inloggen via OpenVPN met certificaat

Gestart door UhhhBoard DDNS / Quick Connect / EZ-Internet / Portforwarding

Reacties: 0
Gelezen: 1777
Laatste bericht 20 december 2014, 23:42:32
door Uhhh
Aangepaste OpenVPN werkt na update DSM niet meer

Gestart door André PE1PQXBoard VPN Server

Reacties: 37
Gelezen: 7659
Laatste bericht 15 juni 2023, 00:34:33
door biomass