Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Change from wheezy to stretch blocks DynDNS access

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
moejoe
Posts: 11
Joined: 2018-02-14 21:38

Change from wheezy to stretch blocks DynDNS access

#1 Post by moejoe »

Rasberry PI vers. 2
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.3 (stretch)
Release: 9.3
Codename: stretch
openvpn stable 2.4.0-6+deb9u2 armhf


Hello again,

After the successfully installation from my ras debian stretch and changed from wheezy ( mentioned in an other Thread).
i tried to setup my Dyndns Services.

But it seems that sth. prevents the service from working correctly.


The ddns address is updated with the help of an simple python script:

Code: Select all

#!/usr/bin/python
import requests
import sys
sys.stdout.flush()
# Update hostname.xx.org
# Get a webpage, this creates a Response object called "r"
r = requests.get('https://api.dynu.com/nic/update?hostname=hostname.cx.domain&password=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
print r.status_code
print r.text
print r.content
###end


I'm not sure why this happens i tried to find an reason in some openvpn howtos but i havent found nothing,

With the wheezy instance i havent had any problems with the dyndns service

edit: changed the thread a little bit for clearness

best regards moejoe
Last edited by moejoe on 2018-02-25 13:34, edited 5 times in total.

moejoe
Posts: 11
Joined: 2018-02-14 21:38

Re: Openvpn Installation blocks DDNS access

#2 Post by moejoe »

Update:

I have to correct that this behavour only occours when openvpn wil be installed .. sometimes it works after a reboot sometimes not.


My assumption was that the reason is the new network managment under stretch.

1. So i hade configured dhcpcp.conf and set the predicalbe interface

Results: the issue still exist

2. Then i had disabled the predictable network feature in the raspbery pi menue

Result: same as aforementioned

3. Deactivated the dhcpcd.conf and use the old /etc/network/interfaces config

Result: same as aforementioned

4. Set up an other DDNS directly in the Router

Result: Works the Address is reachable from outside

So i have to figure out whats going wrong:

Checked the route table:

Code: Select all

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.2.1     0.0.0.0         UG    202    0        0 eth0
192.168.2.0     0.0.0.0         255.255.255.0   U     202    0        0 eth0
Seems normal i think or.

Check if some iptables rules blocks sth. :

Code: Select all

 iptables --list-rules
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
no created rules

Affitional the output from ifconfig:

Code: Select all

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.2.102  netmask 255.255.255.0  broadcast 192.168.2.255
        inet6 2003:cf:c3da:1bb3:106c:473c:a911:398b  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::5fc7:55c1:51c0:f553  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:5e:91:4a  txqueuelen 1000  (Ethernet)
        RX packets 280397  bytes 22112520 (21.0 MiB)
        RX errors 0  dropped 18  overruns 0  frame 0
        TX packets 133690  bytes 73736989 (70.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Any further ideas for figure out the problem ?

Edit: may it's possible thats an ipv4/ipv6 problem ?

best regards moejoe

moejoe
Posts: 11
Joined: 2018-02-14 21:38

Re: Openvpn Installation blocks DDNS access

#3 Post by moejoe »

do i miss sth. ?

best regards moejoe

kopper
Posts: 137
Joined: 2016-09-30 14:30

Re: Change from wheezy to stretch blocks DynDNS access

#4 Post by kopper »

moejoe wrote:do i miss sth. ?
Maybe that Rasbian is not Debian, and people on this forum don't feel like guessing how different Raspbian is compared to Debian and what part of the problem can be attributed to those differences.

You'll most probably get the best answers to your problem in Raspbian forums.
Debian 10.2 Stable with i3
Secure your stuff: Securing Debian Manual
Don't break your stuff: Source List Management DontBreakDebian

moejoe
Posts: 11
Joined: 2018-02-14 21:38

Re: Change from wheezy to stretch blocks DynDNS access

#5 Post by moejoe »

Hello Kopper

I choose this forum cause here are the pros

in some cases the user from the rpi forum giving some questionable advices.

But may i should gve them an another chance

best regards

moejoe
Posts: 11
Joined: 2018-02-14 21:38

Re: Change from wheezy to stretch blocks DynDNS access

#6 Post by moejoe »

as i said before .. no one have an clue
best regards

Post Reply