Receiver only over IP from VPN accessible

Scripts to manage certificates or generate config files

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
robert90
OpenVpn Newbie
Posts: 2
Joined: Sat Oct 01, 2016 6:37 pm

Receiver only over IP from VPN accessible

Post by robert90 » Sat Oct 01, 2016 6:41 pm

Hello,

I have installed OpenVPN on my receiver with Enigma 2 (Linux).
Unfortunately, I have the following problem:

With an active VPN connection I can reach the receiver only on the IP from the VPN. I can the receiver then via the IP from the local LAN no longer reach. How can I change this?

My client-config:

Code: Select all

dev tun
tls-client

remote host port

# 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 192.168.178.1
dhcp-option DOMAIN fritz.box

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

ca /etc/openvpn/ca.crt

comp-lzo

reneg-sec 0

auth-user-pass /etc/openvpn/pass.txt
greeting

Robert

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Receiver only over IP from VPN accessible

Post by TinCanTech » Sat Oct 01, 2016 9:52 pm


robert90
OpenVpn Newbie
Posts: 2
Joined: Sat Oct 01, 2016 6:37 pm

Re: Receiver only over IP from VPN accessible

Post by robert90 » Sun Oct 02, 2016 8:23 am

Thank You.
I have found the error. I have Test the VPN in the same client network like server. In this configuration it doesn't work.

Post Reply